mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-17 00:24:43 -04:00
Remove PUT /notes/{note}/metadata
and corresponding service code
Signed-off-by: David Mehren <git@herrmehren.de> Co-authored-by: Yannick Bungers <git@innay.de>
This commit is contained in:
parent
80e4d029f7
commit
c0527c0942
4 changed files with 1 additions and 94 deletions
|
@ -73,14 +73,6 @@ export class NotesController {
|
|||
return this.noteService.getNoteMetadata(noteIdOrAlias);
|
||||
}
|
||||
|
||||
@Put(':noteIdOrAlias/metadata')
|
||||
updateNoteMetadata(
|
||||
@Param('noteIdOrAlias') noteIdOrAlias: string,
|
||||
@Body() updateDto: NoteMetadataUpdateDto,
|
||||
) {
|
||||
return this.noteService.updateNoteMetadata(noteIdOrAlias, updateDto);
|
||||
}
|
||||
|
||||
@Put(':noteIdOrAlias/permissions')
|
||||
updateNotePermissions(
|
||||
@Param('noteIdOrAlias') noteIdOrAlias: string,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue