File size: 610 Bytes
62cfde8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | diff --git a/webapp/src/dogma/features/api/apiSlice.ts b/webapp/src/dogma/features/api/apiSlice.ts
index 7e48850..2632df1 100644
--- a/webapp/src/dogma/features/api/apiSlice.ts
+++ b/webapp/src/dogma/features/api/apiSlice.ts
@@ -126,7 +126,7 @@ const baseQueryWithReauth: BaseQueryFn<string | FetchArgs, unknown, FetchBaseQue
) => {
const result = await baseQuery(args, api, extraOptions);
- if (result.error && (result.error.status === 401 || result.error.status === 403)) {
+ if (result.error && result.error.status === 401) {
api.dispatch(clearAuth());
Router.push(createLoginUrl());
}
|