diff --git a/common/src/utils/utils.ts b/common/src/utils/utils.ts index a7a4de71f..90a43b10a 100644 --- a/common/src/utils/utils.ts +++ b/common/src/utils/utils.ts @@ -110,9 +110,9 @@ export function checkInputs( dateOfBirth: string, dateOfExpiry: string, ): boolean { - if (passportNumber.length !== 9) { - throw new Error('Passport number must be 9 characters long'); - } + // if (passportNumber.length !== 9) { + // throw new Error('Passport number must be 9 characters long'); + // } if (dateOfBirth.length !== 6) { throw new Error('Date of birth must be 6 characters long'); }