Skip to content

Commit

Permalink
Fixup - Update User
Browse files Browse the repository at this point in the history
  • Loading branch information
Proziam committed Sep 22, 2024
1 parent 5e88aa9 commit 1a247cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -417,9 +417,9 @@ impl AuthClient {
.send()
.await?
.text()
.await;
.await?;

Ok(serde_json::from_str::<User>(&response?)?)
Ok(serde_json::from_str(&response)?)
}

/// Allows signing in with an OIDC ID token. The authentication provider used should be enabled and configured.
Expand Down

0 comments on commit 1a247cf

Please sign in to comment.