From 8f87c2696cfa21a0d896f597402105cc2c42db93 Mon Sep 17 00:00:00 2001 From: Ralfs Date: Tue, 13 Apr 2021 23:35:03 +0300 Subject: [PATCH] Log twilio sending --- src/utils.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils.ts b/src/utils.ts index a8ae250..94dd60c 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -59,6 +59,8 @@ const sendSms = (phoneNumber: string, message: string) => { to: phoneNumber, body: message, }) + .then(message => console.log(message.sid)) + .catch(error => console.error(error)) } const sendEmail = (email: string, message: string) => {