From fbe54b416245007297e16e0037149e55fef17824 Mon Sep 17 00:00:00 2001 From: Benjamyn Love Date: Sun, 15 Oct 2023 19:41:10 +1100 Subject: [PATCH] Consistency is key --- libs/http/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/http/users.py b/libs/http/users.py index 3f3ff5b..5f99460 100644 --- a/libs/http/users.py +++ b/libs/http/users.py @@ -26,6 +26,6 @@ class UserRequests: async with session.post("/api/user/register", json=user_data) as data: if data.status != 200: - return False + return {"status": False} response = await data.json() return response