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:
parent
4e4713c3e2
commit
e325199075
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue