From 3e2fa02605247f601866c8bf1a0dc23c41f41221 Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 14 Dec 2023 15:13:35 +0300 Subject: [PATCH] session-debug --- src/context/session.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/context/session.tsx b/src/context/session.tsx index 3ae1dab1..29b1f932 100644 --- a/src/context/session.tsx +++ b/src/context/session.tsx @@ -92,8 +92,10 @@ export const SessionProvider = (props: { const getSession = async (): Promise => { try { + const t = getToken() + console.debug('[context.session]' + t) const authResult = await authorizer().getSession({ - Authorization: getToken(), + Authorization: t, }) if (authResult?.access_token) { console.log(authResult)