chore(linter): make lint happy

This commit is contained in:
MingxuanGame
2025-08-24 16:45:05 +00:00
parent debb4cb110
commit 292e6b0eba
2 changed files with 3 additions and 9 deletions

View File

@@ -364,8 +364,6 @@ async def oauth_token(
refresh_token_str,
settings.access_token_expire_minutes * 60,
)
# 打印jwt
logger.info(f"[Auth] Generated JWT for user {user_id}: {access_token}")
return TokenResponse(
access_token=access_token,
token_type="Bearer",
@@ -417,8 +415,6 @@ async def oauth_token(
new_refresh_token,
settings.access_token_expire_minutes * 60,
)
# 打印jwt
logger.info(f"[Auth] Generated JWT for user {token_record.user_id}: {access_token}")
return TokenResponse(
access_token=access_token,
token_type="Bearer",
@@ -530,9 +526,6 @@ async def oauth_token(
settings.access_token_expire_minutes * 60,
)
# 打印生成的令牌
logger.info(f"[Auth] Generated access token for client {client_id}: {access_token}")
return TokenResponse(
access_token=access_token,
token_type="Bearer",