diff options
author | Thomas Oberndörfer <[email protected]> | 2018-09-10 11:11:48 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2018-09-10 11:11:48 +0000 |
commit | dd7d37ca21684d4d77db4f513c6212776fc6ea82 (patch) | |
tree | 941d993e22683f876829b0f2e632a2293bb227d1 /lang/js | |
parent | estreams revised (diff) | |
download | gpgme-dd7d37ca21684d4d77db4f513c6212776fc6ea82.tar.gz gpgme-dd7d37ca21684d4d77db4f513c6212776fc6ea82.zip |
js: Fix errorDetails of GPGME_Signature
* lang/js/src/Signature.js (GPGME_Signature.errorDetails):
Access properties from the summary object.
Diffstat (limited to 'lang/js')
-rw-r--r-- | lang/js/src/Signature.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/js/src/Signature.js b/lang/js/src/Signature.js index 7f24f320..f848e32f 100644 --- a/lang/js/src/Signature.js +++ b/lang/js/src/Signature.js @@ -142,8 +142,8 @@ class GPGME_Signature { 'sys-error']; let result = {}; for (let i=0; i< properties.length; i++){ - if ( this._rawSigObject.hasOwnProperty(properties[i]) ){ - result[properties[i]] = this._rawSigObject[properties[i]]; + if ( this._rawSigObject.summary.hasOwnProperty(properties[i]) ){ + result[properties[i]] = this._rawSigObject.summary[properties[i]]; } } return result; |