Merge branch 'master' into fix_all_customer_load

This commit is contained in:
Mohit Panjwani
2022-02-15 10:45:50 +05:30
150 changed files with 815 additions and 503 deletions

View File

@ -46,7 +46,7 @@ export const useAuthStore = (useWindow = false) => {
logout() {
return new Promise((resolve, reject) => {
axios
.get('/auth/logout')
.post('/auth/logout')
.then((response) => {
const notificationStore = useNotificationStore()
notificationStore.showNotification({
@ -55,7 +55,7 @@ export const useAuthStore = (useWindow = false) => {
})
window.router.push('/login')
// resetStore.clearPinia()
// resetStore.clearPinia()
resolve(response)
})
.catch((err) => {
@ -67,4 +67,4 @@ export const useAuthStore = (useWindow = false) => {
},
},
})()
}
}