Skip to content

Commit

Permalink
fix: changed the if param in the assertAlphanumericPin
Browse files Browse the repository at this point in the history
  • Loading branch information
sksadjad committed May 17, 2024
1 parent a8ac2e3 commit 5655859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/lib/AccessTokenClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export class AccessTokenClient {
}

private assertAlphanumericPin(pinMeta?: TxCodeAndPinRequired, pin?: string): void {
if (pinMeta?.isPinRequired) {
if (pinMeta && pinMeta.isPinRequired) {
let regex;

if (pinMeta.txCode) {
Expand Down

0 comments on commit 5655859

Please sign in to comment.