From 5a0bd39d59a97b6c38d94d5728ec193b7affa43e Mon Sep 17 00:00:00 2001 From: augustuswm Date: Tue, 17 Oct 2023 13:11:46 -0500 Subject: [PATCH] Fmt --- rfd-api/src/endpoints/login/oauth/code.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rfd-api/src/endpoints/login/oauth/code.rs b/rfd-api/src/endpoints/login/oauth/code.rs index 13d70d3..c71dc3b 100644 --- a/rfd-api/src/endpoints/login/oauth/code.rs +++ b/rfd-api/src/endpoints/login/oauth/code.rs @@ -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");