Merged in fix/hotel-faq (pull request #1265)
fix: setting faq section as nullable from CS as CS returns null after import * fix: setting faq section as nullable from CS as CS returns null after import Approved-by: Fredrik Thorsson
This commit is contained in:
@@ -70,7 +70,7 @@ export const hotelPageSchema = z.object({
|
||||
})
|
||||
return { spaPage, activitiesCards }
|
||||
}),
|
||||
faq: hotelFaqSchema,
|
||||
faq: hotelFaqSchema.nullable(),
|
||||
hotel_page_id: z.string(),
|
||||
title: z.string(),
|
||||
url: z.string(),
|
||||
|
||||
@@ -1240,7 +1240,7 @@ export const hotelQueryRouter = router({
|
||||
},
|
||||
})
|
||||
)
|
||||
return null
|
||||
return []
|
||||
}
|
||||
|
||||
const apiJson = await apiResponse.json()
|
||||
|
||||
Reference in New Issue
Block a user