mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-24 15:54:23 +01:00
feat: save user lud16 & website into kind 0
This commit is contained in:
@@ -28,6 +28,7 @@ async function renderAccount(
|
||||
about,
|
||||
lud06,
|
||||
lud16,
|
||||
website,
|
||||
} = n.json().pipe(n.metadata()).catch({}).parse(event.content);
|
||||
|
||||
const npub = nip19.npubEncode(pubkey);
|
||||
@@ -83,7 +84,9 @@ async function renderAccount(
|
||||
},
|
||||
nostr: {
|
||||
pubkey,
|
||||
lud16,
|
||||
},
|
||||
website,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user