ソースを参照

fix: broken tuple expansion

Jun Siang Cheah 10 ヶ月 前
コミット
922dfae51c
1 ファイル変更1 行追加1 行削除
  1. 1 1
      backend/apps/webui/models/users.py

+ 1 - 1
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