mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
fix: syntax
This commit is contained in:
parent
1373f14587
commit
35c1dbc13d
1 changed files with 1 additions and 4 deletions
|
@ -105,13 +105,10 @@ const fetchWKD = (id) => {
|
|||
try {
|
||||
profile = await doipjs.openpgp.parsePublicKey(publicKey)
|
||||
} catch (error) {
|
||||
profile = null
|
||||
}
|
||||
|
||||
if (!profile) {
|
||||
reject(new Error('No public keys could be fetched using WKD'))
|
||||
return
|
||||
}
|
||||
|
||||
profile.publicKey.fetch.method = 'wkd'
|
||||
profile.publicKey.fetch.query = id
|
||||
profile.publicKey.fetch.resolvedUrl = fetchURL
|
||||
|
|
Loading…
Reference in a new issue