Fix updating iCalUID

write-icaluid-to-booking
Joe Au-Yeung 2023-10-27 16:35:08 -04:00
parent 83cb60b0cc
commit 833d3a25bf
1 changed files with 4 additions and 2 deletions

View File

@ -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,
},
});
}
}