diff --git a/packages/backend/src/server/activitypub/featured.ts b/packages/backend/src/server/activitypub/featured.ts index 030d42530..82c138a88 100644 --- a/packages/backend/src/server/activitypub/featured.ts +++ b/packages/backend/src/server/activitypub/featured.ts @@ -36,7 +36,7 @@ export default async (ctx: Router.RouterContext) => { const pinnedNotes = ( await Promise.all( pinning.map((pinnedNote) => - this.notesRepository.findOneByOrFail({ id: pinnedNote.noteId }), + Notes.findOneByOrFail({ id: pinnedNote.noteId }), ), ) ).filter(