style(sync): cargo fmt

This commit is contained in:
iamdoubz committed 2026-07-07 17:57:13 -05:00
1 parent ce4c54c93b
commit a48550da1e
1 file changed
+4 -1
+4 -1
View File
@@ -1771,7 +1771,10 @@ fn now_unix() -> i64 {
/// `pub(crate)` so `calendar::GraphSource` (M4.4) can reuse it too — same
/// Microsoft identity platform + token-set shape as `OneDriveTarget`.
#[cfg(feature = "sync")]
pub(crate) async fn resolve_access_token(kind: &str, credential_ref: &str) -> Result<String, SyncError> {
pub(crate) async fn resolve_access_token(
kind: &str,
credential_ref: &str,
) -> Result<String, SyncError> {
let provider = oauth::provider_for(kind)
.ok_or_else(|| SyncError::Upload(format!("unknown oauth provider {kind}")))?;
let client_id = provider.client_id()?;