Revert "test: check old megalodon version"
This reverts commit 89eea5df52.
This commit is contained in:
parent
08cd1f313c
commit
3fd2b55406
230 changed files with 21178 additions and 7596 deletions
|
|
@ -171,7 +171,7 @@ export class ApiStatusMastodon {
|
|||
try {
|
||||
const id = body.in_reply_to_id;
|
||||
const post = await client.getStatus(id);
|
||||
const react = post.data.reactions.filter((e: any) => e.me)[0].name;
|
||||
const react = post.data.emoji_reactions.filter((e: any) => e.me)[0].name;
|
||||
const data = await client.deleteEmojiReaction(id, react);
|
||||
reply.send(data.data);
|
||||
} catch (e: any) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue