style(sync): cargo fmt
This commit is contained in:
1 parent
ce4c54c93b
commit
a48550da1e
1 file changed
+4
-1
@@ -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()?;
|
||||
|
||||
Reference in new issue
Block a user