associatedemployers / safely-api

0 stars 0 forks source link

[Feature] Add get generated times function to hub class #139

Closed Evilscaught closed 3 months ago

Evilscaught commented 3 months ago

Closes #138

ⓘ Related to Pull Request #206 on Safely front-end

Action Requesting to merge branch feature/#138-add-get-generated-times-function-to-hub-class into master

Description Takes the getGeneratedTimes() function in the hub-class model on the front-end and makes it part of the backend in the withAvailability resource endpoint. Also adds additional functionality to return empty time objects for time blocks where participants exceed the class seat capacity.