diff options
Diffstat (limited to 'lang/js/src/Connection.js')
-rw-r--r-- | lang/js/src/Connection.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/js/src/Connection.js b/lang/js/src/Connection.js index 3fd1810d..c4921d53 100644 --- a/lang/js/src/Connection.js +++ b/lang/js/src/Connection.js @@ -232,7 +232,9 @@ class Answer{ return gpgme_error('CONN_UNEXPECTED_ANSWER'); } let _decodedResponse = JSON.parse(atob(this._response_b64)); - let _response = {}; + let _response = { + format: 'ascii' + }; let messageKeys = Object.keys(_decodedResponse); let poa = permittedOperations[this.operation].answer; if (messageKeys.length === 0){ |