This commit is contained in:
tamaina 2024-02-21 19:05:09 +00:00
parent 9e662bc19f
commit 6805ff539a
1 changed files with 1 additions and 3 deletions

View File

@ -124,9 +124,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
notes.sort((a, b) => a.id > b.id ? -1 : 1);
}
if (notes.length > 0) {
this.noteReadService.read(me.id, notes);
}
this.noteReadService.read(me.id, notes);
return await this.noteEntityService.packMany(notes, me);
});