Fix /api/v1/accounts/lookup nip05

This commit is contained in:
Alex Gleason 2023-05-11 23:39:25 -05:00
parent a21ad4caec
commit d109043440
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ const accountLookupController: AppController = async (c) => {
return c.json({ error: 'Missing `acct` query parameter.' }, 422);
}
const event = await lookupAccount(acct);
const event = await lookupAccount(decodeURIComponent(acct));
if (event) {
return c.json(await toAccount(event));
}