Fix event post loop
This commit is contained in:
parent
a6e9198e86
commit
31599d488e
1 changed files with 3 additions and 3 deletions
6
main.ts
6
main.ts
|
@ -182,9 +182,9 @@ for (const i in posts) {
|
|||
|
||||
alert("About to post to Nostr.");
|
||||
|
||||
for (const event in events) {
|
||||
console.log(event);
|
||||
console.log(await relay.event(event));
|
||||
for (const i in events) {
|
||||
const event = events[i]
|
||||
await relay.event(event);
|
||||
}
|
||||
|
||||
await relay.close()
|
||||
|
|
Loading…
Reference in a new issue