From 65fd73375145ad4622f8e94a3d9a9a3a4c2cf51b Mon Sep 17 00:00:00 2001 From: nicolas Date: Sun, 25 Jul 2021 17:08:11 +0200 Subject: [PATCH] Use optional udi --- pages/api/book/confirm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/api/book/confirm.ts b/pages/api/book/confirm.ts index 65c60b91..54bc7552 100644 --- a/pages/api/book/confirm.ts +++ b/pages/api/book/confirm.ts @@ -69,7 +69,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) if (req.body.confirmed) { const eventManager = new EventManager(currentUser.credentials); - const scheduleResult = await eventManager.create(evt); + const scheduleResult = await eventManager.create(evt, booking.uid); await handleLegacyConfirmationMail( scheduleResult.results,