From ab89b70ddcfa28a5ae795d21f6dd98301c28fbc5 Mon Sep 17 00:00:00 2001 From: Luna Date: Fri, 25 Oct 2019 11:33:19 -0300 Subject: [PATCH] fix create_user call --- litecord/blueprints/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litecord/blueprints/auth.py b/litecord/blueprints/auth.py index 81a25d1..ba0a2a5 100644 --- a/litecord/blueprints/auth.py +++ b/litecord/blueprints/auth.py @@ -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)})