[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, 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,