commented out passport number length check

This commit is contained in:
0xturboblitz
2023-12-05 20:08:02 -05:00
parent e6b3a1db05
commit 4bd6c162ab

View File

@@ -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');
}