Skip to content

Commit

Permalink
api
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Apr 14, 2024
1 parent fd2da90 commit c23ded7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/api/baseQuery.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const shouldRetry = (error, path) => {
// Check if the path starts with 'List', error qualifies for a retry, and payload message is 'Backend call failure'
return (
console.log(path),
path.startsWith('/list') &&
path.startsWith('api/list') &&
error.response &&
error.response.status >= 500 &&
error.response.data === 'Backend call failure'
Expand Down

0 comments on commit c23ded7

Please sign in to comment.