From 64c9e79fff4cf577582d6fee5a543a2b44098ee9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yi=C4=9Fit=20=C3=87olako=C4=9Flu?= Date: Thu, 28 Jan 2021 01:17:29 +0300 Subject: [PATCH] Fixed appointment delete url --- src/views/Calendar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Calendar.vue b/src/views/Calendar.vue index 77a2cbc..b951005 100644 --- a/src/views/Calendar.vue +++ b/src/views/Calendar.vue @@ -87,7 +87,7 @@ export default { this.calendarElementClickedLast = false }, deleteAppointment: function(){ - axios.post('/delete',this.selectedEvent.extendedProps.appObj,{ + axios.post('/appointments/delete',this.selectedEvent.extendedProps.appObj,{ headers: { 'Authorization': `Bearer ${window.localStorage.getItem('JWT')}` },