mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
abiility to skip scan and retrieve cached data
This commit is contained in:
@@ -14,3 +14,8 @@ export function checkInputs(
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
export function getFirstName(mrzInfo: any): string {
|
||||
const firstName = mrzInfo.secondaryIdentifier.split('<')[0];
|
||||
return firstName.charAt(0).toUpperCase() + firstName.slice(1).toLowerCase();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user