fix create_user call

This commit is contained in:
Luna 2019-10-25 11:33:19 -03:00
parent 2bc7bb3924
commit ab89b70ddc
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ async def _register_with_invite():
)
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)})