mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-28 14:20:57 -05: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
cae430f25f
commit
c685bd8e50
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,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