mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-30 22:41:00 +00:00
Public API: Fix PUT /notes/{note}/permissions
response
This route should return a full `NotePermissions` object instead of only `NotePermissionsUpdate` Signed-off-by: David Mehren <git@herrmehren.de> Co-authored-by: Yannick Bungers <git@innay.de>
This commit is contained in:
parent
a640dea1aa
commit
7adcad2ce6
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
"$ref": "#/components/schemas/NotePermissionsUpdate"
|
"$ref": "#/components/schemas/NotePermissions"
|
||||||
'401':
|
'401':
|
||||||
"$ref": "#/components/responses/UnauthorizedError"
|
"$ref": "#/components/responses/UnauthorizedError"
|
||||||
'403':
|
'403':
|
||||||
|
|
Loading…
Reference in a new issue