From d8514f09910f3880916c910048907b1fc38dec0e Mon Sep 17 00:00:00 2001 From: dev2820 Date: Fri, 24 Nov 2023 21:33:05 +0900 Subject: [PATCH] =?UTF-8?q?update:=20=EC=86=8C=EC=BC=93=EC=9D=98=20auth=20?= =?UTF-8?q?=ED=86=A0=ED=81=B0=EC=97=90=20Bearer=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/hooks/competition/useCompetition.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/hooks/competition/useCompetition.ts b/frontend/src/hooks/competition/useCompetition.ts index a7e4f0e..dd19dd9 100644 --- a/frontend/src/hooks/competition/useCompetition.ts +++ b/frontend/src/hooks/competition/useCompetition.ts @@ -31,7 +31,7 @@ export const useCompetition = (competitionId: number) => { transports: ['websocket'], query: { competitionId }, auth: { - token: `${localStorage.getItem('accessToken')}`, + token: `Bearer ${localStorage.getItem('accessToken')}`, }, }), );