Make sure the value stays null and not undefined

This commit is contained in:
varjolintu 2025-11-29 16:22:49 +02:00
parent 71b52fe28d
commit f1c80edab5

View file

@ -77,7 +77,7 @@
attestationObject: kpxcBase64ToArrayBuffer(publicKey.response.attestationObject),
clientDataJSON: kpxcBase64ToArrayBuffer(publicKey.response.clientDataJSON),
getAuthenticatorData: () => kpxcBase64ToArrayBuffer(publicKey.response?.authenticatorData),
getPublicKey: () => publicKey.response?.publicKey,
getPublicKey: () => publicKey.response?.publicKey ? publicKey.response?.publicKey : null,
getPublicKeyAlgorithm: () => publicKey.response?.publicKeyAlgorithm,
getTransports: () => [ 'internal' ]
};