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) {