From 95a713b50a54e0bb719c378bcd07c9bb1f927b47 Mon Sep 17 00:00:00 2001 From: danidfra Date: Tue, 24 Dec 2024 15:28:05 -0300 Subject: [PATCH] Refactor reactions: removed unnecessary lines --- src/controllers/api/reactions.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/controllers/api/reactions.ts b/src/controllers/api/reactions.ts index 7d42c197..b7a18549 100644 --- a/src/controllers/api/reactions.ts +++ b/src/controllers/api/reactions.ts @@ -29,7 +29,6 @@ const reactionController: AppController = async (c) => { await createEvent({ kind: 7, content: emoji, - created_at: Math.floor(Date.now() / 1000), tags: [['e', id], ['p', event.pubkey]], }, c); @@ -74,7 +73,6 @@ const deleteReactionController: AppController = async (c) => { await createEvent({ kind: 5, content: '', - created_at: Math.floor(Date.now() / 1000), tags, }, c);