Fix typo in to_authorized_http_client doc comment (#1158)

This commit is contained in:
Recoordinate 2026-08-10 06:23:10 +12:00 • committed by GitHub
commit b5cf34eee7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3682,7 +3682,7 @@ impl OAuthState {
Err(AuthError::InternalError("Not in session state".to_string()))
}
}
/// covert to authorized http client
/// convert to authorized http client
pub async fn to_authorized_http_client(&mut self) -> Result<(), AuthError> {
let placeholder = self.placeholder_state().await?;
if let OAuthState::Authorized(manager) = std::mem::replace(self, placeholder) {