hatchways / team-vampire

1 stars 0 forks source link

Calculate availabilities #67

Open bonnieli opened 3 years ago

bonnieli commented 3 years ago

Form the array of availabilities

return an array to the frontend

singhmi4 commented 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:

https://github.com/hatchways/team-vampire/compare/feature-be-google-calendar-freebusy-api