mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-10-28 19:43:39 +08:00
chore: lint
This commit is contained in:
committed by
François Voron
parent
3d33e3da8a
commit
8404f24b62
@ -92,11 +92,15 @@ def get_oauth_router(
|
||||
},
|
||||
ErrorCode.ACCESS_TOKEN_DECODE_ERROR: {
|
||||
"summary": "Access token is error.",
|
||||
"value": {"detail": ErrorCode.ACCESS_TOKEN_DECODE_ERROR},
|
||||
"value": {
|
||||
"detail": ErrorCode.ACCESS_TOKEN_DECODE_ERROR
|
||||
},
|
||||
},
|
||||
ErrorCode.ACCESS_TOKEN_ALREADY_EXPIRED: {
|
||||
"summary": "Access token is already expired.",
|
||||
"value": {"detail": ErrorCode.ACCESS_TOKEN_ALREADY_EXPIRED},
|
||||
"value": {
|
||||
"detail": ErrorCode.ACCESS_TOKEN_ALREADY_EXPIRED
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
@ -239,11 +243,15 @@ def get_oauth_associate_router(
|
||||
},
|
||||
ErrorCode.ACCESS_TOKEN_DECODE_ERROR: {
|
||||
"summary": "Access token is error.",
|
||||
"value": {"detail": ErrorCode.ACCESS_TOKEN_DECODE_ERROR},
|
||||
"value": {
|
||||
"detail": ErrorCode.ACCESS_TOKEN_DECODE_ERROR
|
||||
},
|
||||
},
|
||||
ErrorCode.ACCESS_TOKEN_ALREADY_EXPIRED: {
|
||||
"summary": "Access token is already expired.",
|
||||
"value": {"detail": ErrorCode.ACCESS_TOKEN_ALREADY_EXPIRED},
|
||||
"value": {
|
||||
"detail": ErrorCode.ACCESS_TOKEN_ALREADY_EXPIRED
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user