Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
siuvdlec committed Sep 14, 2023
1 parent 38a668f commit 25f7103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http/resourceFetchFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ const filterOnFalse =
}
}

if (r.status >= 400 && r.status <= 499) {
if ((r.status as StatusCode) >= 400 && (r.status as StatusCode) <= 499) {
return {
type: 'rejected',
error: 'clientError',
Expand Down

0 comments on commit 25f7103

Please sign in to comment.