diff --git a/docs/changelog.md b/docs/changelog.md index a8b11cf15f..c87801d530 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -7,6 +7,7 @@ - change the second tab on the notifications page from "unread" to "reactions" - add ability to show a huge post button on the posting form - joke feature, inspired by https://mstdn.poyo.me/@prime/110668364208741253 +- bug fix # v20240216 diff --git a/packages/backend/src/server/activitypub/featured.ts b/packages/backend/src/server/activitypub/featured.ts index bd4923b7cb..464a7f769d 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(