Merged in fix/BOOK-672-hotels-without-related-links (pull request #3348)

fix(BOOK-672): remove unused relationsships that threw when missing

* fix(BOOK-672): remove unused relationsships that threw when missing


Approved-by: Linus Flood
This commit is contained in:
Joakim Jäderberg
2025-12-15 13:19:05 +00:00
parent e85248124f
commit 494bf2ba78
3 changed files with 8 additions and 19 deletions

View File

@@ -69,16 +69,3 @@ export const includedSchema = z
return false
})
)
const relationshipSchema = z.object({
links: z.object({
related: z.string(),
}),
})
export const relationshipsSchema = z.object({
meetingRooms: relationshipSchema,
nearbyHotels: relationshipSchema,
restaurants: relationshipSchema,
roomCategories: relationshipSchema,
})