fix(SW-294): code cleanup
This commit is contained in:
@@ -82,7 +82,7 @@ async function getContentstackData(
|
||||
if (!response.data) {
|
||||
throw notFound(response)
|
||||
}
|
||||
console.log("HEJ", response.data)
|
||||
|
||||
const hotelPageData = hotelPageSchema.safeParse(response.data)
|
||||
if (!hotelPageData.success) {
|
||||
console.error(
|
||||
@@ -103,7 +103,6 @@ export const hotelQueryRouter = router({
|
||||
const { include } = input
|
||||
|
||||
const contentstackData = await getContentstackData(lang, uid)
|
||||
console.log("då", contentstackData)
|
||||
const hotelId = contentstackData?.hotel_page_id
|
||||
|
||||
if (!hotelId) {
|
||||
|
||||
Reference in New Issue
Block a user