modified stuff

This commit is contained in:
Game_Time 2023-08-12 21:01:55 +05:00
parent 10afb8bd5e
commit f4a09515fe

View file

@ -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