mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-27 12:08:02 -05:00
MeController: Fix ESLint errors
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
b22d641406
commit
38b787fe25
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ export class MeController {
|
||||||
async getMyNotes(@Req() req: Request): Promise<NoteMetadataDto[]> {
|
async getMyNotes(@Req() req: Request): Promise<NoteMetadataDto[]> {
|
||||||
const notes = this.notesService.getUserNotes(req.user);
|
const notes = this.notesService.getUserNotes(req.user);
|
||||||
return await Promise.all(
|
return await Promise.all(
|
||||||
notes.map((note) => this.notesService.toNoteMetadataDto(note)),
|
(await notes).map((note) => this.notesService.toNoteMetadataDto(note)),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue