From 892eccee7e20127da2541491b93e645989f8eb4d Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Mon, 3 May 2021 10:16:05 +0200 Subject: [PATCH] Fix keybase key fetching --- src/keys.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/keys.js b/src/keys.js index c40acda..2c97d5f 100644 --- a/src/keys.js +++ b/src/keys.js @@ -110,8 +110,9 @@ exports.fetchWKD = (identifier) => { exports.fetchKeybase = (username, fingerprint) => { return new Promise(async (resolve, reject) => { const keyLink = `https://keybase.io/${username}/pgp_keys.asc?fingerprint=${fingerprint}` + let rawKeyContent try { - const rawKeyContent = await req(opts.keyLink) + rawKeyContent = await req(keyLink) .then((response) => { if (response.status === 200) { return response