[Master task] Edit fix

This commit is contained in:
Matej Glasnák committed 2023-03-05 20:09:20 +01:00
1 parent 526b3896f5
commit c93a5c7799
5 files changed
+16 -7

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ async function _unauthorised(error: any) {
if (error?.response?.data?.message == 'Unauthenticated.')
return store.dispatch('auth/logout')
return error
return Promise.reject(error)
}
axios.interceptors.response.use(