Bug: Replace non-numeric characters in Twilio phonenumber (#958)
This commit is contained in:
@@ -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, '')}`,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user