diff --git a/packages/features/bookings/lib/handleNewBooking.ts b/packages/features/bookings/lib/handleNewBooking.ts index c873b65f6a..a8b4b5805e 100644 --- a/packages/features/bookings/lib/handleNewBooking.ts +++ b/packages/features/bookings/lib/handleNewBooking.ts @@ -2319,9 +2319,11 @@ async function handler( // The eventManager and handleAppsStatus could change the iCalUID. At this point we can update the DB record await prisma.booking.update({ where: { - booking: booking.id, + id: booking.id, + }, + data: { + iCalUID: evt.iCalUID, }, - iCalUID: evt.iCalUID, }); } }