Skip to content

Commit

Permalink
fix: rejected request error message
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-mng authored and a-h-abdelsalam committed Oct 4, 2024
1 parent 0c1af74 commit 9d35019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/authorized.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const Authorized = ({children}) => {
logout();
return Promise.resolve(xhr);
}
return Promise.reject(new Error(xhr));
return Promise.reject(xhr);

Check warning on line 32 in src/web/authorized.jsx

View check run for this annotation

Codecov / codecov/patch

src/web/authorized.jsx#L32

Added line #L32 was not covered by tests
},
[logout],
);
Expand Down

0 comments on commit 9d35019

Please sign in to comment.