diff --git a/lib/emails/confirm-booked.ts b/lib/emails/confirm-booked.ts index 92595f0a..67e13b2f 100644 --- a/lib/emails/confirm-booked.ts +++ b/lib/emails/confirm-booked.ts @@ -37,7 +37,6 @@ const sendEmail = (calEvent: CalendarEvent, { text: text(calEvent), }, (error, info) => { - console.log(info); if (error) { console.error("SEND_BOOKING_CONFIRMATION_ERROR", calEvent.attendees[0].email, error); return reject(new Error(error)); @@ -53,7 +52,7 @@ const html = (calEvent: CalendarEvent) => {
Hi ${calEvent.attendees[0].name},

- Your ${calEvent.type} with ${calEvent.organizer.name} at ${inviteeStart.format('h:mma')} + Your ${calEvent.type} with ${calEvent.organizer.name} at ${inviteeStart.format('h:mma')} (${calEvent.attendees[0].timeZone}) on ${inviteeStart.format('dddd, LL')} is scheduled.

Additional notes:
@@ -62,4 +61,4 @@ const html = (calEvent: CalendarEvent) => { `; }; -const text = (evt: CalendarEvent) => html(evt).replace('
', "\n").replace(/<[^>]+>/g, ''); \ No newline at end of file +const text = (evt: CalendarEvent) => html(evt).replace('
', "\n").replace(/<[^>]+>/g, '');