1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

Handle null or undefined fields (#14832)

This commit is contained in:
SmithThe4th
2025-05-16 17:33:33 -04:00
committed by GitHub
parent 4b32d1f9dd
commit b7bbf99682

View File

@@ -164,8 +164,8 @@ export class Fido2Credential extends Domain {
keyCurve: this.keyCurve.toJSON(),
keyValue: this.keyValue.toJSON(),
rpId: this.rpId.toJSON(),
userHandle: this.userHandle.toJSON(),
userName: this.userName.toJSON(),
userHandle: this.userHandle?.toJSON(),
userName: this.userName?.toJSON(),
counter: this.counter.toJSON(),
rpName: this.rpName?.toJSON(),
userDisplayName: this.userDisplayName?.toJSON(),