aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/src/Helpers.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lang/js/src/Helpers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/js/src/Helpers.js b/lang/js/src/Helpers.js
index f370fe60..0b418529 100644
--- a/lang/js/src/Helpers.js
+++ b/lang/js/src/Helpers.js
@@ -50,7 +50,7 @@ export function toKeyIdArray (input){
}
} else if (typeof (input[i]) === 'object'){
let fpr = '';
- if (input[i].hasOwnProperty('fingerprint')){
+ if (input[i].fingerprint !== undefined){
fpr = input[i].fingerprint;
} else if (input[i].hasOwnProperty('primaryKey') &&
input[i].primaryKey.hasOwnProperty('getFingerprint')){