mirror of
https://github.com/open-webui/open-webui
synced 2025-01-31 06:49:03 +00:00
fix: broken tuple expansion
This commit is contained in:
parent
4aab460905
commit
922dfae51c
@ -131,7 +131,7 @@ class UsersTable:
|
|||||||
if not oauth_user
|
if not oauth_user
|
||||||
else (User.email == email)
|
else (User.email == email)
|
||||||
)
|
)
|
||||||
user = User.get(conditions)
|
user = User.get(*conditions)
|
||||||
return UserModel(**model_to_dict(user))
|
return UserModel(**model_to_dict(user))
|
||||||
except:
|
except:
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user