Commit 8289c51b authored by tom's avatar tom

debug

parent a1f00dc6
...@@ -49,6 +49,8 @@ export default function useFetch() { ...@@ -49,6 +49,8 @@ export default function useFetch() {
); );
} else { } else {
// eslint-disable-next-line no-debugger
debugger;
if (path.includes(RESOURCES.csrf.path)) { if (path.includes(RESOURCES.csrf.path)) {
return Promise.resolve({ token: response.headers.get('x-bs-account-csrf') }) as unknown as Promise<Success>; return Promise.resolve({ token: response.headers.get('x-bs-account-csrf') }) as unknown as Promise<Success>;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment