Use optional udi

This commit is contained in:
nicolas 2021-07-25 17:08:11 +02:00
parent b0ac65b0f6
commit 65fd733751

View file

@ -69,7 +69,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
if (req.body.confirmed) { if (req.body.confirmed) {
const eventManager = new EventManager(currentUser.credentials); const eventManager = new EventManager(currentUser.credentials);
const scheduleResult = await eventManager.create(evt); const scheduleResult = await eventManager.create(evt, booking.uid);
await handleLegacyConfirmationMail( await handleLegacyConfirmationMail(
scheduleResult.results, scheduleResult.results,