Skip to content

Commit

Permalink
Merge pull request #310 from ASAP-as-soon-as-possible/fix/#309/HostLo…
Browse files Browse the repository at this point in the history
…ginToken

[Hotfix/#309] 방장 로그인 403에러시 새로 반환된 토큰 저장
  • Loading branch information
ljh0608 authored Aug 13, 2024
2 parents 41fb413 + 0e89378 commit 3fda218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/loginEntrance/components/HostComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function HostComponent({ hostInfo, setHostInfo }: HostProps) {
} else if (err.response.status === 401) {
setIsLoginModalOpen(true);
} else if (err.response.status === 403) {
console.log(err.response.data.message);
localStorage.setItem('hostToken', err.response.data.data.accessToken);
setIsModalOpen(true);
} else {
navigate(`/q-card/${meetingId}`);
Expand Down

0 comments on commit 3fda218

Please sign in to comment.