From 68978fa1c03290746dc3779e501cc364474c878a Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 14 Dec 2023 03:06:35 +0300 Subject: [PATCH] json-fix --- services/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/auth.py b/services/auth.py index ce3f2632..e0efca5f 100644 --- a/services/auth.py +++ b/services/auth.py @@ -19,7 +19,7 @@ async def check_auth(req) -> (bool, int | None): variables = { "params": { "token_type": "access_token", - "token": token.encode("utf-8"), + "token": token, } }