mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
(fix) user_id_models on sso/callback
This commit is contained in:
parent
89caef3038
commit
aae659d9db
1 changed files with 1 additions and 0 deletions
|
|
@ -5157,6 +5157,7 @@ async def auth_callback(request: Request):
|
|||
user_info = None
|
||||
if prisma_client is not None:
|
||||
user_info = await prisma_client.get_data(user_id=user_id, table_name="user")
|
||||
user_id_models: List = []
|
||||
if user_info is not None:
|
||||
user_id_models = getattr(user_info, "models", [])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue