From 922dfae51c1d9c95845d96f24a692dae3c49bad0 Mon Sep 17 00:00:00 2001 From: Jun Siang Cheah Date: Fri, 21 Jun 2024 13:44:10 +0100 Subject: [PATCH] fix: broken tuple expansion --- backend/apps/webui/models/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/apps/webui/models/users.py b/backend/apps/webui/models/users.py index 1003ea864..258bb32be 100644 --- a/backend/apps/webui/models/users.py +++ b/backend/apps/webui/models/users.py @@ -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