Fixed UserQuery.create

This commit is contained in:
Felipe M 2021-02-02 13:12:03 +01:00
parent a810d5bdc3
commit fd792c0f53
Signed by: fmartingr
GPG key ID: 716BC147715E716F

View file

@ -88,7 +88,7 @@ class UserQuery(Query):
@classmethod @classmethod
def create(cls, **kwargs): def create(cls, **kwargs):
kwargs["password"] = cls._hash_password(kwargs["password"]) kwargs["password"] = cls._hash_password(kwargs["password"])
super().create(**kwargs) return super().create(**kwargs)
class ChannelQuery(Query): class ChannelQuery(Query):