bill преди 1 седмица
родител
ревизия
6da5a9f5ba
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/api/setup.ts

+ 1 - 1
src/api/setup.ts

@@ -168,7 +168,7 @@ export const axiosFactory = () => {
       } else if (response.data.code !== ResCode.SUCCESS) {
         callErrorHandler('res', response, response.data)
         if (response.data.code === ResCode.TOKEN_INVALID) {
-          delToken()
+          // delToken()
         }
         // console.error(response?.data?.message)
         throw new Error(response?.data?.message)