From c685bd8e504376e0445d2f0e777955360e52ef46 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Sat, 3 Oct 2020 18:08:31 +0200 Subject: [PATCH] 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 Co-authored-by: Yannick Bungers --- docs/dev/public_api.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/dev/public_api.yml b/docs/dev/public_api.yml index dbba734b9..5cbb6d9a0 100644 --- a/docs/dev/public_api.yml +++ b/docs/dev/public_api.yml @@ -393,7 +393,7 @@ paths: content: application/json: schema: - "$ref": "#/components/schemas/NotePermissionsUpdate" + "$ref": "#/components/schemas/NotePermissions" '401': "$ref": "#/components/responses/UnauthorizedError" '403':