From ab9be5ef14dec107bad134f7784840ec180526f7 Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 14 Dec 2023 00:57:32 +0300 Subject: [PATCH] encode-try --- services/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/auth.py b/services/auth.py index e0efca5f..ce3f2632 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, + "token": token.encode("utf-8"), } }