feat(SW-508): contract changes for hotel alerts

This commit is contained in:
Erik Tiekstra
2024-11-07 13:52:22 +01:00
parent 52ae49246f
commit de5d80ec92
3 changed files with 25 additions and 24 deletions
+1 -1
View File
@@ -294,7 +294,7 @@ export const hotelQueryRouter = router({
const hotelAttributes = hotelData.data.attributes
const images = hotelAttributes.gallery?.smallerImages
const hotelAlerts = hotelAttributes.meta?.specialAlerts || []
const hotelAlerts = hotelAttributes.specialAlerts
const roomCategories = included
? included.filter((item) => item.type === "roomcategories")