From 2ab8185a5903c56bc7277f32dde2d9769f5610c6 Mon Sep 17 00:00:00 2001 From: Ojakoo Date: Mon, 4 Jul 2022 11:14:21 +0300 Subject: [PATCH] Forgot to add this --- src/utils/auth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/auth.ts b/src/utils/auth.ts index e425fe9..42e2b1b 100644 --- a/src/utils/auth.ts +++ b/src/utils/auth.ts @@ -75,6 +75,6 @@ export async function refreshToken(): Promise { } export function getAuthHeader(): string { - const jwt = getAccessTokenCookie(); - return `Bearer ${jwt}`; + const jwt_access = getAccessTokenCookie(); + return `Bearer ${jwt_access}`; }