diff --git a/src/phone/validator.ts b/src/phone/validator.ts index 60fd43b..fc84297 100644 --- a/src/phone/validator.ts +++ b/src/phone/validator.ts @@ -9,6 +9,6 @@ export const phone = (country: string): ValidatorFn => { let v: string = control.value; - return isValidNumber({phone: v, country}) ? null : {phone: true}; + return isValidNumber(v, country) ? null : {phone: true}; }; };