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)})