aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js
diff options
context:
space:
mode:
Diffstat (limited to 'lang/js')
-rw-r--r--lang/js/src/Keyring.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/js/src/Keyring.js b/lang/js/src/Keyring.js
index 59027088..2b57e63f 100644
--- a/lang/js/src/Keyring.js
+++ b/lang/js/src/Keyring.js
@@ -185,7 +185,8 @@ export class GPGME_Keyring {
&& resp.option.value.length === 1
&& resp.option.value[0].hasOwnProperty('string')
&& typeof (resp.option.value[0].string) === 'string'){
- me.getKeys(resp.option.value[0].string, true).then(
+ me.getKeys({ pattern: resp.option.value[0].string,
+ prepare_sync: true }).then(
function (keys){
if (keys.length === 1){
resolve(keys[0]);