mirror of
https://github.com/selfxyz/self.git
synced 2026-01-23 05:28:02 -05:00
commented out passport number length check
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user