1
0
Fork 0

Fix event post loop

This commit is contained in:
Sjors Provoost 2024-09-06 12:30:47 +02:00
parent a6e9198e86
commit 31599d488e
Signed by: sjors
GPG key ID: 57FF9BDBCC301009

View file

@ -182,9 +182,9 @@ for (const i in posts) {
alert("About to post to Nostr."); alert("About to post to Nostr.");
for (const event in events) { for (const i in events) {
console.log(event); const event = events[i]
console.log(await relay.event(event)); await relay.event(event);
} }
await relay.close() await relay.close()