From 89cefa9894dc755c72063a1d7782e39f32ffdeb7 Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Thu, 27 May 2021 22:26:10 +0000 Subject: [PATCH] Removed left-over console.log --- lib/emails/confirm-booked.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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, '');