style(commands): cargo fmt

This commit is contained in:
iamdoubz
2026-07-07 17:57:12 -05:00
parent aa5ae127b3
commit ce4c54c93b
+12 -7
View File
@@ -2567,13 +2567,18 @@ pub async fn begin_graph_calendar_link(app: AppHandle) -> WaResult<serde_json::V
_ => 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 {