mirror of https://gitlab.com/litecord/litecord.git
fix create_user call
This commit is contained in:
parent
2bc7bb3924
commit
ab89b70ddc
|
|
@ -120,7 +120,7 @@ async def _register_with_invite():
|
||||||
)
|
)
|
||||||
|
|
||||||
user_id, pwd_hash = await create_user(
|
user_id, pwd_hash = await create_user(
|
||||||
data["username"], data["email"], data["password"], app.db
|
data["username"], data["email"], data["password"]
|
||||||
)
|
)
|
||||||
|
|
||||||
return jsonify({"token": make_token(user_id, pwd_hash), "user_id": str(user_id)})
|
return jsonify({"token": make_token(user_id, pwd_hash), "user_id": str(user_id)})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue