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 David Mehren
parent 5920a1c72f
commit 22aaa956a7
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
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)),
);
}
}