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:
David Mehren 2020-10-03 18:08:31 +02:00
parent cae430f25f
commit c685bd8e50
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -393,7 +393,7 @@ paths:
content:
application/json:
schema:
"$ref": "#/components/schemas/NotePermissionsUpdate"
"$ref": "#/components/schemas/NotePermissions"
'401':
"$ref": "#/components/responses/UnauthorizedError"
'403':