I have an endpoint that throws 404 when nothing is found.
However, in my app I want to treat those 404 of that endpoint as a 200.
transformErrorResponse: (error, meta) => {
console.log('fetch error', error);
return error;
},
Is there any way I can tell redux that if the error is 404 then treat this as a 200 + potentially return and empty array?
How would I achieve this?