Consistency is key
This commit is contained in:
parent
99d3764932
commit
fbe54b4162
@ -26,6 +26,6 @@ class UserRequests:
|
|||||||
|
|
||||||
async with session.post("/api/user/register", json=user_data) as data:
|
async with session.post("/api/user/register", json=user_data) as data:
|
||||||
if data.status != 200:
|
if data.status != 200:
|
||||||
return False
|
return {"status": False}
|
||||||
response = await data.json()
|
response = await data.json()
|
||||||
return response
|
return response
|
||||||
|
|||||||
Reference in New Issue
Block a user