feat(scheduling): ignoreAllDayEvents option
This commit is contained in:
@@ -37,7 +37,9 @@ export class SlotService {
|
||||
|
||||
let calendarBusy
|
||||
try {
|
||||
calendarBusy = await this.gateway.getBusyIntervals(access, fromUtc, toUtc)
|
||||
calendarBusy = await this.gateway.getBusyIntervals(access, fromUtc, toUtc, {
|
||||
ignoreAllDayEvents: eventType.ignoreAllDayEvents,
|
||||
})
|
||||
} catch {
|
||||
throw new ServiceUnavailableException('Calendar is temporarily unavailable — please retry.')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user