From 6333b0801cb783b2dd0c1e350aebc80431d41479 Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Fri, 6 Sep 2024 12:40:15 +0200 Subject: [PATCH] Publish the signed event --- main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.ts b/main.ts index e75040d..e84ffbd 100644 --- a/main.ts +++ b/main.ts @@ -172,8 +172,8 @@ for (const i in posts) { event.tags = [...event.tags, ...geotags]; } const signed_event = await signer.signEvent(event); - console.log(event); - events.push(event); + console.log(signed_event); + events.push(signed_event); completed++; if (completed == n) break;