mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
Move note permission route under metadata
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
3c58c74401
commit
a14056dbc9
2 changed files with 2 additions and 2 deletions
|
@ -346,7 +346,7 @@ paths:
|
|||
content:
|
||||
text/plain:
|
||||
example: my-note
|
||||
/notes/{note}/permissions:
|
||||
/notes/{note}/metadata/permissions:
|
||||
put:
|
||||
tags: [ note ]
|
||||
summary: Set permissions of a note
|
||||
|
|
|
@ -115,7 +115,7 @@ export class NotesController {
|
|||
}
|
||||
}
|
||||
|
||||
@Put(':noteIdOrAlias/permissions')
|
||||
@Put(':noteIdOrAlias/metadata/permissions')
|
||||
async updateNotePermissions(
|
||||
@Param('noteIdOrAlias') noteIdOrAlias: string,
|
||||
@Body() updateDto: NotePermissionsUpdateDto,
|
||||
|
|
Loading…
Reference in a new issue