@meetelise/chat 1.12.8 → 1.12.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/getAvailabilities.ts +1 -1
package/package.json
CHANGED
package/src/getAvailabilities.ts
CHANGED
|
@@ -74,7 +74,7 @@ export const getAvailabilitiesGroupedByDay = async (
|
|
|
74
74
|
// TODO: alternative to this: cache the building id when getRawAvailabilities is called. Then I can call the normal methods.
|
|
75
75
|
export const getAvailabilitiesGroupedByDayCached = async (
|
|
76
76
|
tourType: TourAvailabilityResponseRankOrderedSupportedTourTypesEnum
|
|
77
|
-
):
|
|
77
|
+
): Promise<{ [day: string]: Date[] }> =>
|
|
78
78
|
getAvailabilitiesGroupedByDay(
|
|
79
79
|
Object.keys(availabilitiesCache).map(Number)[0],
|
|
80
80
|
tourType
|