[mastodon-client] Fix note favorite count

This commit is contained in:
Laura Hausmann 2023-09-17 22:54:37 +02:00
parent 16c10f55a3
commit 941f44dc71
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -36,7 +36,7 @@ export class NoteConverter {
host,
);
const reactionCount = NoteReactions.countBy({id: note.id});
const reactionCount = NoteReactions.countBy({noteId: note.id});
const reaction = user ? NoteReactions.findOneBy({
userId: user.id,