Open bonnieli opened 3 years ago
Hi @bonnieli, I was able to calculate the availabilities using freequery and pushing the timeslots into an array, but I'm having some challenges returning this array out of the freebusy query to be sent to the front-end as a response.json()
.
Could you also look at my method of calculating the availabilities:
[9:00, 10:00, ..., 4]
)timeMin = 9 am
, timeMax=9:59
(had to subtract 1 for the duration because I want to be able to set events that have only 1 hour time blocks available)https://github.com/hatchways/team-vampire/compare/feature-be-google-calendar-freebusy-api
Form the array of availabilities
return an array to the frontend