Skip to content

Commit

Permalink
Fixes for nostr.json
Browse files Browse the repository at this point in the history
  • Loading branch information
KiPSOFT committed Feb 5, 2023
1 parent af4ad88 commit 33ea9d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ router.get("/.well-known/nostr.json", async({request, response }: { request: any
const users = await db.getVerifiedUsers(name);
const temp: any = {};
for (const usr of users) {
temp[usr.name] = usr.publicKey;
temp[usr.name] = nostr.getKeyFromNip19(usr.publicKey);
}
response.status = 200;
response.body = {
Expand Down

0 comments on commit 33ea9d5

Please sign in to comment.