chore: remove console logs

This commit is contained in:
Chuma McPhoy
2024-07-02 15:39:08 +02:00
parent fce4ff200d
commit 2cf77af0c3

View File

@@ -35,7 +35,6 @@ export const hotelQueryRouter = router({
// - but if/when we do we can extend the endpoint (and schema) to add necessary requirements.
// - Example "included" data available in our tempHotelData file.
const { included, ...apiJsonWithoutIncluded } = tempHotelData
console.log("hotel apiJson: ", apiJsonWithoutIncluded)
const validatedHotelData = getHotelDataSchema.safeParse(
apiJsonWithoutIncluded
)
@@ -46,7 +45,6 @@ export const hotelQueryRouter = router({
throw badRequestError()
}
console.log("validatedHotelData.data: ", validatedHotelData)
return validatedHotelData.data
}),
})