mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Refactor reactions: removed unnecessary lines
This commit is contained in:
parent
bb50ad7a43
commit
95a713b50a
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue