Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Quentin Gliech
2026-01-12 11:57:42 +01:00
committed by GitHub
parent f98957617e
commit 6915878bc6
2 changed files with 3 additions and 3 deletions

View File

@@ -716,7 +716,7 @@ async fn refresh_token_grant(
return Err(RouteError::RefreshTokenInvalid(next_refresh_token.id));
}
// This could be a double-refresh, see bellow
// This could be a double-refresh, see below
repo.oauth2_access_token()
.revoke(clock, next_access_token)
.await?;

View File

@@ -146,8 +146,8 @@ pub trait OAuth2RefreshTokenRepository: Send + Sync {
/// # Parameters
///
/// * `since`: An optional timestamp to start from
/// * `until`: The timestamp before which to revoke tokens
/// * `limit`: The maximum number of tokens to revoke
/// * `until`: The timestamp before which to delete tokens
/// * `limit`: The maximum number of tokens to delete
///
/// # Errors
///