mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 01:36:29 -05:00
fix(public/notes-controller): bind setUserPermission to an URL
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
3884d79474
commit
068517a73b
1 changed files with 1 additions and 0 deletions
|
@ -254,6 +254,7 @@ export class NotesController {
|
|||
@UseInterceptors(GetNoteInterceptor)
|
||||
@Permissions(Permission.OWNER)
|
||||
@UseGuards(TokenAuthGuard, PermissionsGuard)
|
||||
@Put(':noteIdOrAlias/metadata/permissions/users/:userName')
|
||||
@OpenApi(
|
||||
{
|
||||
code: 200,
|
||||
|
|
Loading…
Reference in a new issue