mirror of
https://github.com/open-webui/open-webui
synced 2025-01-18 08:40:58 +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
|
||||
else (User.email == email)
|
||||
)
|
||||
user = User.get(conditions)
|
||||
user = User.get(*conditions)
|
||||
return UserModel(**model_to_dict(user))
|
||||
except:
|
||||
return None
|
||||
|
Loading…
Reference in New Issue
Block a user