diff --git a/packages/backend/src/server/api/endpoints/notes/renotes.ts b/packages/backend/src/server/api/endpoints/notes/renotes.ts index e74a527bd5..ae48c165c0 100644 --- a/packages/backend/src/server/api/endpoints/notes/renotes.ts +++ b/packages/backend/src/server/api/endpoints/notes/renotes.ts @@ -87,7 +87,7 @@ export default define(meta, paramDef, async (ps, user) => { const filter = async (notes: ScyllaNote[]) => { let filtered = notes.filter((n) => n.renoteId === note.id); if (ps.userId) { - filtered = notes.filter((n) => n.userId === ps.userId); + filtered = filtered.filter((n) => n.userId === ps.userId); } filtered = await filterVisibility(filtered, user, followingUserIds); if (user) {