fix(SW-188): improve semantics, use hotel instead of attribute naming

This commit is contained in:
Chuma McPhoy
2024-08-14 08:27:56 +02:00
parent ed379202c8
commit 3a2a58a9ca
7 changed files with 24 additions and 25 deletions

View File

@@ -72,7 +72,7 @@ export const hotelQueryRouter = router({
})
return {
attributes: validatedHotelData.data.data.attributes,
hotel: validatedHotelData.data.data.attributes,
roomCategories: roomCategories,
}
}),