From 0a23538389f6d2bd34b343c41ac64e633497ff13 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Wed, 24 Feb 2021 22:33:47 +0100 Subject: [PATCH] NotesController: Fix ESLint errors Signed-off-by: David Mehren --- src/api/public/notes/notes.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/public/notes/notes.controller.ts b/src/api/public/notes/notes.controller.ts index 0960fb7b4..e641f17aa 100644 --- a/src/api/public/notes/notes.controller.ts +++ b/src/api/public/notes/notes.controller.ts @@ -222,7 +222,7 @@ export class NotesController { throw new UnauthorizedException('Updating note denied!'); } return this.noteService.toNotePermissionsDto( - this.noteService.updateNotePermissions(note, updateDto), + await this.noteService.updateNotePermissions(note, updateDto), ); } catch (e) { if (e instanceof NotInDBError) {