mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 23:54:42 -04:00
Reformat code by yarn format
Signed-off-by: Yannick Bungers <git@innay.de>
This commit is contained in:
parent
5920a1c72f
commit
22aaa956a7
8 changed files with 73 additions and 62 deletions
|
@ -79,9 +79,9 @@ export class MeController {
|
|||
@UseGuards(TokenAuthGuard)
|
||||
@Get('notes')
|
||||
async getMyNotes(@Request() req): Promise<NoteMetadataDto[]> {
|
||||
const notes = await this.notesService.getUserNotes(req.user)
|
||||
const notes = await this.notesService.getUserNotes(req.user);
|
||||
return Promise.all(
|
||||
notes.map(note => this.notesService.toNoteMetadataDto(note))
|
||||
notes.map((note) => this.notesService.toNoteMetadataDto(note)),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue