diff --git a/services/auth.py b/services/auth.py index e2c078d..a90c069 100644 --- a/services/auth.py +++ b/services/auth.py @@ -16,7 +16,7 @@ async def check_auth(req): ) headers = {"Authorization": token, "Content-Type": "application/json"} async with AsyncClient() as client: - response = await client.post(AUTH_URL, headers=headers, data=gql) + response = await client.post(AUTH_URL, headers=headers, data=json.dumps(gql)) print(f"{response}") if response.status_code != 200: return False, None