Bug: Replace non-numeric characters in Twilio phonenumber (#958)
This commit is contained in:
parent
944fbf27b7
commit
ecd5e20133
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ export default {
|
||||||
medium: this.medium,
|
medium: this.medium,
|
||||||
account_sid: this.accountSID,
|
account_sid: this.accountSID,
|
||||||
auth_token: this.authToken,
|
auth_token: this.authToken,
|
||||||
phone_number: this.phoneNumber,
|
phone_number: `+${this.phoneNumber.replace(/\D/g, '')}`,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue