API Support: Manage Booking Questions and responses (#8115)

This commit is contained in:
Hariom Balhara authored and GitHub committed 2023-04-18 18:05:06 +05:30
1 parent a716eda14c
commit b28d60b6dc
2 files changed
+70 -24

No files matched your search

+1 -1
View File
@@ -220,7 +220,7 @@ export const bookingCreateSchemaLegacyPropsForApi = z.object({
// This is the schema that is used for the API. It has all the legacy props that are part of `responses` now.
export const bookingCreateBodySchemaForApi = extendedBookingCreateBody.merge(
bookingCreateSchemaLegacyPropsForApi
bookingCreateSchemaLegacyPropsForApi.partial()
);
export const schemaBookingCancelParams = z.object({