diff --git a/javascript/src/iframe/viamapi-iframe.js b/javascript/src/iframe/viamapi-iframe.js index be23ef7306eec8c2d37f2ad0b6ad658b7cec2a18..1b40b926163b0b6403cc9a159876b511aba5cd31 100644 --- a/javascript/src/iframe/viamapi-iframe.js +++ b/javascript/src/iframe/viamapi-iframe.js @@ -1421,7 +1421,7 @@ const connection = Penpal.connectToParent({ // body: String if it is a text part (Content-Type = "text/...") or Uint8Array otherwise; filled for leaf MIME nodes // parts: array of instances of the same object; filled for container MIME nodes (Content-Type = "multipart/...") // } - signVCard: async (passportUUID, text, html, parts = null) => { + signVCard: async (passportUUID, senderEmail, text, html, parts = null) => { const authenticationPublicKey = localStorage.getItem( "authenticatedIdentity" ); @@ -1541,7 +1541,7 @@ const connection = Penpal.connectToParent({ const keys = await createOneTimePassportCertificate( makeid() + "-" + passportUUID, - null, + senderEmail, passportPrivateKey, passportCertificate );