diff --git a/backend/src/api/private/notes/notes.controller.ts b/backend/src/api/private/notes/notes.controller.ts index 78de960ca..1a27c7342 100644 --- a/backend/src/api/private/notes/notes.controller.ts +++ b/backend/src/api/private/notes/notes.controller.ts @@ -250,7 +250,7 @@ export class NotesController { @RequestUser() user: User, @RequestNote() note: Note, @Param('groupName') groupName: string, - @Body() canEdit: boolean, + @Body('canEdit') canEdit: boolean, ): Promise { const permissionGroup = await this.groupService.getGroupByName(groupName); const returnedNote = await this.permissionService.setGroupPermission(