Resolve more Phone Lib issues.

This commit is contained in:
Patrick Fic
2021-07-30 10:23:57 -07:00
parent d8e8a8e4e9
commit d3c8b5d731
8 changed files with 47 additions and 7 deletions

View File

@@ -30,7 +30,7 @@ exports.send = (req, res) => {
.create({
body: body,
messagingServiceSid: messagingServiceSid,
to: phone(to)[0],
to: phone(to).phoneNumber,
mediaUrl: selectedMedia.map((i) => i.src),
})
.then((message) => {