mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 09:46:30 -05:00
Move note permission route under metadata
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
0f215fc8ad
commit
4a1bec8eec
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