mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-21 18:55:19 -04: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!');
|
throw new UnauthorizedException('Updating note denied!');
|
||||||
}
|
}
|
||||||
return this.noteService.toNotePermissionsDto(
|
return this.noteService.toNotePermissionsDto(
|
||||||
this.noteService.updateNotePermissions(note, updateDto),
|
await this.noteService.updateNotePermissions(note, updateDto),
|
||||||
);
|
);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (e instanceof NotInDBError) {
|
if (e instanceof NotInDBError) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue