Skip to content

Commit

Permalink
Merge pull request #4180 from greenbone/fix-rejected-request-error-me…
Browse files Browse the repository at this point in the history
…ssage

fix: rejected request error message
  • Loading branch information
a-h-abdelsalam authored Oct 4, 2024
2 parents 0c1af74 + 9d35019 commit 48f6dcb
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);
},
[logout],
);
Expand Down

0 comments on commit 48f6dcb

Please sign in to comment.