mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -04:00
fixed customer logout error
This commit is contained in:
@ -103,7 +103,7 @@ export const useAuthStore = defineStore({
|
|||||||
logout(data) {
|
logout(data) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
axios
|
axios
|
||||||
.post(`${data}/customer/logout`)
|
.post(`/${data}/customer/logout`)
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
const notificationStore = useNotificationStore()
|
const notificationStore = useNotificationStore()
|
||||||
notificationStore.showNotification({
|
notificationStore.showNotification({
|
||||||
|
|||||||
Reference in New Issue
Block a user