From 2674e76e6202edc47508b4f3fcaaa7e2f39dcaee Mon Sep 17 00:00:00 2001 From: Luna Date: Fri, 25 Oct 2019 09:00:21 -0300 Subject: [PATCH] blueprints.auth: 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 01a5454..81a25d1 100644 --- a/litecord/blueprints/auth.py +++ b/litecord/blueprints/auth.py @@ -77,7 +77,7 @@ async def register(): username, password = j["username"], j["password"] - new_id, pwd_hash = await create_user(username, email, password, app.db) + new_id, pwd_hash = await create_user(username, email, password) if invite: try: