Skip to content

Commit

Permalink
update: 소켓의 auth 토큰에 Bearer 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
dev2820 committed Nov 25, 2023
1 parent 4342d98 commit fe6a2c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/hooks/competition/useCompetition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const useCompetition = (competitionId: number) => {
transports: ['websocket'],
query: { competitionId },
auth: {
token: `${localStorage.getItem('accessToken')}`,
token: `Bearer ${localStorage.getItem('accessToken')}`,
},
}),
);
Expand Down

0 comments on commit fe6a2c2

Please sign in to comment.