Reformat code by yarn format

Signed-off-by: Yannick Bungers <git@innay.de>
This commit is contained in:
Yannick Bungers 2021-01-30 18:09:00 +01:00 committed by Philip Molares
parent a7f35aaeec
commit c2b6c6fe49
8 changed files with 73 additions and 62 deletions

View file

@ -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)),
);
}
}