mirror of
https://github.com/crater-invoice/crater.git
synced 2025-12-15 09:52:55 -05: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