Skip to content

Commit

Permalink
Update src/model/messages/mrtd/EMrtdDataSubmitMessage.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Ariel Gentile <[email protected]>
  • Loading branch information
lotharking and genaris authored Nov 5, 2024
1 parent 1968e3d commit c092ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/messages/mrtd/EMrtdDataSubmitMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class EMrtdDataSubmitMessage extends BaseMessage {
}
})(mrzString.length)
const parsedMrz = Mrz.parse(formattedMrz)
const birthDateFromNfc = parsed.fields.additionalPersonalData?.fullDateOfBirth
const birthDateFromAdditionalPersonalData = parsed.fields.additionalPersonalData?.fullDateOfBirth

Check failure on line 84 in src/model/messages/mrtd/EMrtdDataSubmitMessage.ts

View workflow job for this annotation

GitHub Actions / validate

'birthDateFromAdditionalPersonalData' is assigned a value but never used

const newEmrtdData: EMrtdRawData = {
raw: raw,
Expand Down

0 comments on commit c092ebc

Please sign in to comment.