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')}` },