diff --git a/api/core.py b/api/core.py index 02954e3..f266147 100644 --- a/api/core.py +++ b/api/core.py @@ -51,7 +51,7 @@ async def create_user(incoming_request: fastapi.Request): auth_error = await check_core_auth(incoming_request) if auth_error: - return auth_error + return auth_error try: payload = await incoming_request.json() @@ -63,3 +63,14 @@ async def create_user(incoming_request: fastapi.Request): await new_user_webhook(user) return user + +if __name__ == '__main__': + # new_user_webhook({ + # '_id': 'JUST_A_TEST_IGNORE_ME', + # 'auth': { + # 'discord': 123, + # 'github': 'abc' + # } + # }) + + pass