Refactor/email confirm links (#6151)

* Booking confirmation link improvements

* Cleanup

* Update webhooks payload

* Removing unneeded dependency

* Feedback

* Matches enum style to rest of codebase

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Leo Giovanetti <[email protected]>
This commit is contained in:
authored and GitHub committed 2022-12-21 17:15:51 -07:00
1 parent dcc226976c
commit 23450b61e0
11 files changed
+485 -924

No files matched your search

@@ -499,6 +499,7 @@ async function handler(req: NextApiRequest & { userId?: number | undefined }) {
startTime: dayjs(reqBody.start).utc().format(),
endTime: dayjs(reqBody.end).utc().format(),
organizer: {
id: organizerUser.id,
name: organizerUser.name || "Nameless",
email: organizerUser.email || "Email-less",
timeZone: organizerUser.timeZone,