Merge branch 'change-logout-request' into 'master'

fixed customer logout error

See merge request mohit.panjvani/crater-web!1445
This commit is contained in:
Mohit Panjwani
2022-02-17 08:14:43 +00:00

View File

@ -103,7 +103,7 @@ export const useAuthStore = defineStore({
logout(data) {
return new Promise((resolve, reject) => {
axios
.post(`${data}/customer/logout`)
.post(`/${data}/customer/logout`)
.then((response) => {
const notificationStore = useNotificationStore()
notificationStore.showNotification({