Skip to content

Commit

Permalink
fix: missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
dewanakl committed Aug 25, 2024
1 parent 49b5a66 commit 954a62e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export const session = (() => {
if (res.code === 200) {
session.set('token', res.data.token);
}

return res;
})
.then((res) => res.code === 200, () => false);

Expand Down

0 comments on commit 954a62e

Please sign in to comment.