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