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 a640dea1aa
commit 7adcad2ce6
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

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