Added location to event
This commit is contained in:
parent
4dd8359a15
commit
4fb8e8285e
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
||||||
endTime: booking.endTime.toISOString(),
|
endTime: booking.endTime.toISOString(),
|
||||||
organizer: { email: currentUser.email, name: currentUser.name, timeZone: currentUser.timeZone },
|
organizer: { email: currentUser.email, name: currentUser.name, timeZone: currentUser.timeZone },
|
||||||
attendees: booking.attendees,
|
attendees: booking.attendees,
|
||||||
|
location: booking.location,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (req.body.confirmed) {
|
if (req.body.confirmed) {
|
||||||
|
|
Loading…
Reference in a new issue