Remove unnecessary flag

This commit is contained in:
Alex Tselegidis 2023-09-12 19:10:40 +03:00
parent c3eb4d1632
commit 571b169756

View file

@ -842,8 +842,6 @@ App.Utils.CalendarDefaultView = (function () {
.add({days: -info.delta.days, milliseconds: -info.delta.milliseconds})
.format('YYYY-MM-DD HH:mm:ss');
unavailability.is_unavailability = Number(unavailability.is_unavailability);
App.Http.Calendar.saveAppointment(unavailability).done(() => {
$notification.hide('blind');
});