Skip to content

Commit

Permalink
feat: add fallback to storage's humanId variable (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammed-Mamoun98 authored Dec 3, 2024
1 parent 069b245 commit b65ed28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/idos-enclave/src/lib/enclave.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class Enclave {
}

return {
humanId: this.store.get("human-id"),
humanId: this.humanId ?? this.store.get("human-id"),
encryptionPublicKey: storeWithCodec.get("encryption-public-key"),
signerAddress: this.store.get("signer-address"),
signerPublicKey: this.store.get("signer-public-key"),
Expand Down

0 comments on commit b65ed28

Please sign in to comment.