mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-02-20 06:40:51 +00:00
NotesController: Fix ESLint errors
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
38b787fe25
commit
0a23538389
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue