Commit 922dfae5 authored by Jun Siang Cheah's avatar Jun Siang Cheah
Browse files

fix: broken tuple expansion

parent 4aab4609
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment