diff --git a/src-tauri/src/commands.rs b/src-tauri/src/commands.rs index bb079c9..330793a 100644 --- a/src-tauri/src/commands.rs +++ b/src-tauri/src/commands.rs @@ -2567,13 +2567,18 @@ pub async fn begin_graph_calendar_link(app: AppHandle) -> WaResult return fail("authorization was cancelled or failed".into()), }; - let tokens = - match oauth::exchange_code(&provider, &client_id, &code, &verifier, &redirect_uri) - .await - { - Ok(t) => t, - Err(e) => return fail(e.to_string()), - }; + let tokens = match oauth::exchange_code( + &provider, + &client_id, + &code, + &verifier, + &redirect_uri, + ) + .await + { + Ok(t) => t, + Err(e) => return fail(e.to_string()), + }; let credential_ref = "wa-calendar-graph".to_string(); let Ok(json) = serde_json::to_string(&tokens) else {