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({
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);