From 6eb43b0f90a5420bd5e0ed2becbf2ddb5dc4b88e Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Fri, 31 Jul 2020 00:09:27 +0200 Subject: [PATCH] Fix wrong email query --- assets/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/scripts.js b/assets/scripts.js index b206f40..d0b943f 100644 --- a/assets/scripts.js +++ b/assets/scripts.js @@ -234,7 +234,7 @@ async function displayProfile(opts) { return; } let userData = keyData.user.user.userId; - let userName = userData.name ? userData.name : keyData.publicKey.users[i].userId.email; + let userName = userData.name ? userData.name : userData.email; // Determine WKD or HKP link switch (opts.mode) {