Files
cal.diy/apps/web
Joe Au-YeungandAlex van Andel f7b201b0b5 fix: Return empty available days if error querying calendar (#22828)
* Return a busy block placeholder if calendar throws an error

* Refactor `getCalendarsEvents` to return an object with a success prop

* Throw error in `getBusyTimes` if failed to fetch calendar availability

* Return empty available days if error getting busy times

* yeet.

* Type fix

* Fix type error in getLuckyUsers

* Type fixes

* Type fix

* Type fix

* Fix test

* Fix test mocks

* Refactor calendars.service to use new calendarBusyTimesQuery

---------

Co-authored-by: Alex van Andel <me@alexvanandel.com>
2025-07-31 02:09:09 +01:00
..
2025-07-28 16:21:51 +00:00
2022-08-30 12:25:24 -06:00
2025-07-29 16:08:19 +00:00
2025-07-30 15:14:16 +00:00
2025-05-01 10:35:17 +01:00
2025-05-09 19:44:48 +00:00
2025-07-29 10:30:09 +00:00
2022-02-10 14:22:45 -07:00
2022-02-10 14:22:45 -07:00