Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
augustuswm committed Oct 17, 2023
1 parent 63641ad commit 5a0bd39
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions rfd-api/src/endpoints/login/oauth/code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -497,11 +497,7 @@ pub async fn authz_code_exchange(
// Generate a new access token for the user with an expiration matching the value given to us
// by the remote service
let token = ctx
.register_access_token(
&api_user,
&api_user_provider,
scope,
)
.register_access_token(&api_user, &api_user_provider, scope)
.await?;

tracing::info!(provider = ?path.provider, api_user_id = ?api_user.id, "Generated access token");
Expand Down

0 comments on commit 5a0bd39

Please sign in to comment.