Browse Source

Fixed appointment delete url

production
Yiğit Çolakoğlu 4 years ago
parent
commit
64c9e79fff
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/views/Calendar.vue

+ 1
- 1
src/views/Calendar.vue View File

@ -87,7 +87,7 @@ export default {
this.calendarElementClickedLast = false this.calendarElementClickedLast = false
}, },
deleteAppointment: function(){ deleteAppointment: function(){
axios.post('/delete',this.selectedEvent.extendedProps.appObj,{
axios.post('/appointments/delete',this.selectedEvent.extendedProps.appObj,{
headers: { headers: {
'Authorization': `Bearer ${window.localStorage.getItem('JWT')}` 'Authorization': `Bearer ${window.localStorage.getItem('JWT')}`
}, },


Loading…
Cancel
Save