diff --git a/packages/@core/forward/request/src/request-client/modules/interceptor.ts b/packages/@core/forward/request/src/request-client/modules/interceptor.ts index 21b0264d..aaad2e21 100644 --- a/packages/@core/forward/request/src/request-client/modules/interceptor.ts +++ b/packages/@core/forward/request/src/request-client/modules/interceptor.ts @@ -19,7 +19,7 @@ class InterceptorManager { ) { this.axiosInstance.interceptors.request.use( fulfilled, - rejected || ((res) => res), + rejected || ((res) => Promise.reject(res)), ); } @@ -31,7 +31,7 @@ class InterceptorManager { ) { this.axiosInstance.interceptors.response.use( fulfilled, - rejected || ((res) => res), + rejected || ((res) => Promise.reject(res)), ); } } diff --git a/packages/effects/layouts/src/widgets/preferences/preferences-sheet.vue b/packages/effects/layouts/src/widgets/preferences/preferences-sheet.vue index 691ab679..61a97039 100644 --- a/packages/effects/layouts/src/widgets/preferences/preferences-sheet.vue +++ b/packages/effects/layouts/src/widgets/preferences/preferences-sheet.vue @@ -416,7 +416,7 @@ async function handleReset() { variant="ghost" @click="handleClearCache" > - + {{ $t('preferences.clearAndLogout') }}