Skip to content
Snippets Groups Projects
Commit 8f9f9509 authored by Embruch, Gerd's avatar Embruch, Gerd
Browse files

described axios loop

parent 5a7a54bb
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,8 @@ api.interceptors.response.use(
// save original request config
const originalConfig = err.config;
// if access denied and not a retry already
// BUG: Infinit loop because _retry isn't set at runtime
// BUG: Possible infinit loop because _retry isn't set at runtime
// the loop starts if refreshToken is invalid && backend responds with 403
// console.log(originalConfig);
// console.log(JSON.stringify(originalConfig));
if (originalConfig && err?.response?.status === 403 && originalConfig._retry !== true) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment