mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 20:21:10 -04:00
fixed customer logout error
This commit is contained in:
@ -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({
|
||||
|
||||
Reference in New Issue
Block a user