fix: offer seats broken (#20758)

This commit is contained in:
Anik Dhabal Babu
2025-04-18 05:32:31 +00:00
committed by GitHub
parent 5058e0e750
commit f176ebf1da
@@ -198,6 +198,7 @@ export const updateHandler = async ({ ctx, input }: UpdateOptions) => {
metadata: rest.metadata === null ? Prisma.DbNull : (rest.metadata as Prisma.InputJsonObject),
eventTypeColor: eventTypeColor === null ? Prisma.DbNull : (eventTypeColor as Prisma.InputJsonObject),
disableGuests: guestsField?.hidden ?? false,
seatsPerTimeSlot,
};
data.locations = locations ?? undefined;