fix(auth): error num 401 for oauth

Lewis: May this revision serve well! <lu5a@proton.me>
This commit is contained in:
Lewis
2026-06-01 19:38:45 +03:00
parent 500dc2e0e6
commit 320933598c
+1 -1
View File
@@ -522,7 +522,7 @@ async fn validate_bearer_token_with_options_internal(
auth_source: AuthSource::OAuth,
});
} else {
return Err(TokenValidationError::TokenExpired);
return Err(TokenValidationError::OAuthTokenExpired);
}
}