From fa0e815f1333aa4111dfdbaec7c0c29f0b499d6a Mon Sep 17 00:00:00 2001 From: Untone Date: Wed, 13 Dec 2023 20:42:00 +0300 Subject: [PATCH] gql-fix --- services/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/auth.py b/services/auth.py index 3ad7114b..e116c7af 100644 --- a/services/auth.py +++ b/services/auth.py @@ -10,7 +10,7 @@ async def check_auth(req): print(f"[services.auth] checking auth token: {token}") gql = { - "query": "query { validate_jwt_token( params: ValidateJWTTokenInput) { is_valid claims } }", + "query": "query { validate_jwt_token( params: ValidateJWTTokenInput!) { is_valid claims } }", "variables": {"params": {"token_type": "access_token", "token": token}}, }