Skip to content

Commit

Permalink
chore: correct code
Browse files Browse the repository at this point in the history
  • Loading branch information
Benmuiruri committed Feb 17, 2025
1 parent 096b04d commit 5ea6044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/cht-session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default class ChtSession {
}
return token;
} catch (e: any) {
if (e?.response?.status === 403) {
if (e?.response?.status === 401) {
throw AuthError.INVALID_CREDENTIALS();
}
throw e;
Expand Down

0 comments on commit 5ea6044

Please sign in to comment.