Added location to event

This commit is contained in:
nicolas 2021-07-25 16:29:06 +02:00
parent 4dd8359a15
commit 4fb8e8285e

View file

@ -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) {