mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
lint
This commit is contained in:
parent
a1275a9223
commit
b83c9a59dc
1 changed files with 1 additions and 3 deletions
|
|
@ -1313,9 +1313,7 @@ async def auth_callback(request: Request, state: Optional[str] = None): # noqa:
|
|||
if oauth_error:
|
||||
oauth_error_detail = f"OAuth error: {oauth_error}"
|
||||
if oauth_error_description:
|
||||
oauth_error_detail += (
|
||||
f", error_description: {oauth_error_description}"
|
||||
)
|
||||
oauth_error_detail += f", error_description: {oauth_error_description}"
|
||||
raise HTTPException(
|
||||
status_code=400,
|
||||
detail=oauth_error_detail,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue