diff --git a/packages/backend/src/server/activitypub/featured.ts b/packages/backend/src/server/activitypub/featured.ts index 030d4253..82c138a8 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(