Refactor reactions: removed unnecessary lines

This commit is contained in:
danidfra 2024-12-24 15:28:05 -03:00
parent bb50ad7a43
commit 95a713b50a

View file

@ -29,7 +29,6 @@ const reactionController: AppController = async (c) => {
await createEvent({ await createEvent({
kind: 7, kind: 7,
content: emoji, content: emoji,
created_at: Math.floor(Date.now() / 1000),
tags: [['e', id], ['p', event.pubkey]], tags: [['e', id], ['p', event.pubkey]],
}, c); }, c);
@ -74,7 +73,6 @@ const deleteReactionController: AppController = async (c) => {
await createEvent({ await createEvent({
kind: 5, kind: 5,
content: '', content: '',
created_at: Math.floor(Date.now() / 1000),
tags, tags,
}, c); }, c);