From 4fb8e8285e8e86cee4233c162bf3058df9a3bd94 Mon Sep 17 00:00:00 2001 From: nicolas Date: Sun, 25 Jul 2021 16:29:06 +0200 Subject: [PATCH] Added location to event --- pages/api/book/confirm.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/api/book/confirm.ts b/pages/api/book/confirm.ts index 36cfb95e..65c60b91 100644 --- a/pages/api/book/confirm.ts +++ b/pages/api/book/confirm.ts @@ -64,6 +64,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) endTime: booking.endTime.toISOString(), organizer: { email: currentUser.email, name: currentUser.name, timeZone: currentUser.timeZone }, attendees: booking.attendees, + location: booking.location, }; if (req.body.confirmed) {