From fd792c0f5305938f505e1d6abb89b4a6a40767af Mon Sep 17 00:00:00 2001 From: Felipe M Date: Tue, 2 Feb 2021 13:12:03 +0100 Subject: [PATCH] Fixed UserQuery.create --- butterrobot/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/butterrobot/db.py b/butterrobot/db.py index 547a1f2..fd1ba69 100644 --- a/butterrobot/db.py +++ b/butterrobot/db.py @@ -88,7 +88,7 @@ class UserQuery(Query): @classmethod def create(cls, **kwargs): kwargs["password"] = cls._hash_password(kwargs["password"]) - super().create(**kwargs) + return super().create(**kwargs) class ChannelQuery(Query):