Use optional udi
parent
b0ac65b0f6
commit
65fd733751
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue