fix(invite): prefix a + when faking the validation response (#2597)

Pre-existing logic made it so numbers were assumed as valid
if no validation url was specified. To be consistent with
the validation server, the faked number should include a
+ at the beginning.
This commit is contained in:
virtuacoplenny
2018-03-12 13:25:42 -07:00
committed by bbaldino
parent 4e4713c3e2
commit e325199075
+1 -1
View File
@@ -100,7 +100,7 @@ export function checkDialNumber(
// no auth url, let's say it is valid
const response = {
allow: true,
phone: dialNumber
phone: `+${dialNumber}`
};
return Promise.resolve(response);