diff --git a/packages/backend/src/server/api/mastodon/converters/note.ts b/packages/backend/src/server/api/mastodon/converters/note.ts index 51fac6d54..9fda8275a 100644 --- a/packages/backend/src/server/api/mastodon/converters/note.ts +++ b/packages/backend/src/server/api/mastodon/converters/note.ts @@ -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,