fix (backend): undefined reference
This commit is contained in:
parent
eca0d47951
commit
42dfe1e0c1
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue