From dcaf2ba0d84d68307297f0f583520fdecc9c026f Mon Sep 17 00:00:00 2001 From: amansinghbais Date: Wed, 29 Nov 2023 14:34:43 +0530 Subject: [PATCH] Improved: calendarId in payload from api resp (#28) --- src/components/CustomScheduleModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CustomScheduleModal.vue b/src/components/CustomScheduleModal.vue index b9f50f47..8b05bf28 100644 --- a/src/components/CustomScheduleModal.vue +++ b/src/components/CustomScheduleModal.vue @@ -173,7 +173,7 @@ export default defineComponent({ resp = await FacilityService.associateCalendarToFacility({ facilityId: this.facilityId, - calendarId: 10031, + calendarId: calendarId, fromDate: DateTime.now().toMillis(), facilityCalendarTypeId: 'OPERATING_HOURS' })