Log event id after successful publish
This commit is contained in:
parent
6333b0801c
commit
6748d01158
1 changed files with 1 additions and 0 deletions
1
main.ts
1
main.ts
|
@ -184,6 +184,7 @@ alert("About to post to Nostr.");
|
|||
for (const i in events) {
|
||||
const event = events[i]
|
||||
await relay.event(event);
|
||||
console.log(event.id);
|
||||
}
|
||||
|
||||
await relay.close()
|
||||
|
|
Loading…
Reference in a new issue