@mapomodule/core
Advanced tools
Comparing version 1.0.0-alpha.17 to 1.0.0-alpha.18
@@ -6,2 +6,13 @@ # Change Log | ||
# [1.0.0-alpha.18](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.17...v1.0.0-alpha.18) (2022-04-04) | ||
### Bug Fixes | ||
* fix core interceptor syntax ([c546a48](https://github.com/lotrekagency/mapo/commit/c546a48f22bf689d4b679aaab82b2b9ed62f26cc)) | ||
# [1.0.0-alpha.17](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.16...v1.0.0-alpha.17) (2022-04-03) | ||
@@ -8,0 +19,0 @@ |
@@ -23,3 +23,3 @@ module.exports = ({ $axios, store }) => { | ||
const { status, request } = error.response || {} | ||
if (status === 401 && request?.path !== '/api/auth/logout') { | ||
if (status === 401 && (request || {}).path !== '/api/auth/logout') { | ||
store.dispatch('mapo/user/logout') | ||
@@ -26,0 +26,0 @@ } |
{ | ||
"name": "@mapomodule/core", | ||
"version": "1.0.0-alpha.17", | ||
"version": "1.0.0-alpha.18", | ||
"description": "This is part of Mapo nuxt module. Injects the core mapo plugin helpers.", | ||
@@ -21,3 +21,3 @@ "author": "bnznamco <gabriele.baldi.01@gmail.com>", | ||
}, | ||
"gitHead": "abd0d72a2d294acfde87af3a6f3fa3c19f100b30" | ||
"gitHead": "1b05e625339b6ee6ed0e238739cc31fbd84f3397" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24650