mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
[mastodon-client] Fix note favorite count
This commit is contained in:
parent
16c10f55a3
commit
941f44dc71
@ -36,7 +36,7 @@ export class NoteConverter {
|
|||||||
host,
|
host,
|
||||||
);
|
);
|
||||||
|
|
||||||
const reactionCount = NoteReactions.countBy({id: note.id});
|
const reactionCount = NoteReactions.countBy({noteId: note.id});
|
||||||
|
|
||||||
const reaction = user ? NoteReactions.findOneBy({
|
const reaction = user ? NoteReactions.findOneBy({
|
||||||
userId: user.id,
|
userId: user.id,
|
||||||
|
Loading…
Reference in New Issue
Block a user