From 4bd6c162ab653be27e45fdcc535d6a1e03a5e6ff Mon Sep 17 00:00:00 2001 From: 0xturboblitz Date: Tue, 5 Dec 2023 20:08:02 -0500 Subject: [PATCH] commented out passport number length check --- common/src/utils/utils.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'); }