fix: return attributes from hotel router

This commit is contained in:
Chuma McPhoy
2024-07-08 12:53:12 +02:00
parent 753a379694
commit 57b424819a
2 changed files with 2 additions and 4 deletions

View File

@@ -47,6 +47,6 @@ export const hotelQueryRouter = router({
throw badRequestError()
}
return validatedHotelData.data
return validatedHotelData.data.data.attributes
}),
})