Fixed UserQuery.create
This commit is contained in:
parent
a810d5bdc3
commit
fd792c0f53
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue