PlaceOS/staff-api

If a room returns an error in Graph API it should not be displayed on Frontend

Opened this issue · 0 comments

In the case an error is reported on the room resource i.e. resource not found:

[PlaceOS][WS] [DEBUG] mod-ERCSlQDKmS → executing {"__exec__":"list_events","list_events":{"calendar_id":"W2.AST.R03@wil.gsa.gov","period_start":1670220000,"period_end":1672812000,"time_zone":"US/Central","user_id":null,"include_cancelled":false}} on Microsoft::GraphAPI (mod-ERCSlQDKmS)
Not Found (PlaceCalendar::Exception)

The room should not be returned as bookable/available on the frontend as it is not actually possible to book this room.