Log twilio sending
This commit is contained in:
parent
f6dea2cfd2
commit
8f87c2696c
|
@ -59,6 +59,8 @@ const sendSms = (phoneNumber: string, message: string) => {
|
||||||
to: phoneNumber,
|
to: phoneNumber,
|
||||||
body: message,
|
body: message,
|
||||||
})
|
})
|
||||||
|
.then(message => console.log(message.sid))
|
||||||
|
.catch(error => console.error(error))
|
||||||
}
|
}
|
||||||
|
|
||||||
const sendEmail = (email: string, message: string) => {
|
const sendEmail = (email: string, message: string) => {
|
||||||
|
|
Loading…
Reference in New Issue