Log twilio sending

This commit is contained in:
Ralfs 2021-04-13 23:35:03 +03:00
parent f6dea2cfd2
commit 8f87c2696c
1 changed files with 2 additions and 0 deletions

View File

@ -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) => {