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"
|
- change the second tab on the notifications page from "unread" to "reactions"
|
||||||
- add ability to show a huge post button on the posting form
|
- add ability to show a huge post button on the posting form
|
||||||
- joke feature, inspired by https://mstdn.poyo.me/@prime/110668364208741253
|
- joke feature, inspired by https://mstdn.poyo.me/@prime/110668364208741253
|
||||||
|
- bug fix
|
||||||
|
|
||||||
# v20240216
|
# v20240216
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ export default async (ctx: Router.RouterContext) => {
|
||||||
const pinnedNotes = (
|
const pinnedNotes = (
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
pinning.map((pinnedNote) =>
|
pinning.map((pinnedNote) =>
|
||||||
this.notesRepository.findOneByOrFail({ id: pinnedNote.noteId }),
|
Notes.findOneByOrFail({ id: pinnedNote.noteId }),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
).filter(
|
).filter(
|
||||||
|
|
Loading…
Reference in a new issue