Skip to content

Commit

Permalink
Merge pull request #121 from Deep-Consulting-Solutions/task/add-cachi…
Browse files Browse the repository at this point in the history
…ng-to-calendar-responses

modified getAvailability to use selectedcalenderIDs
  • Loading branch information
GAMHnile authored Dec 10, 2024
2 parents bb7978f + 1918baa commit 3d37d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app-store/zohocalendar/lib/CalendarService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ export default class ZohoCalendarService implements Calendar {

if (!selectedCalendars[0]) return [];

const userInfo = await this.getUserInfo(selectedCalendars[0]);
const userInfo = await this.getUserInfo(selectedCalendarIds[0]);
const originalStartDate = dayjs(dateFrom);
const originalEndDate = dayjs(dateTo);
const diff = originalEndDate.diff(originalStartDate, "days");
Expand Down

0 comments on commit 3d37d84

Please sign in to comment.