summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-05-19 09:36:49 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-05-19 09:36:49 +0300
commitc95bbeadc3c0b9a256c0aa2a652b4eee1e0d394d (patch)
tree0641de4c5803bd98917fb84dfe196627c29213de
parentd4f50f2ba97a992c6b0ef09b284c3df326e07550 (diff)
operation use helper function for empty objectfix/1650-domain-mutes
-rw-r--r--lib/pleroma/web/api_spec/operations/domain_mute_operation.ex4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/pleroma/web/api_spec/operations/domain_mute_operation.ex b/lib/pleroma/web/api_spec/operations/domain_mute_operation.ex
index 54d708c45..943a3f369 100644
--- a/lib/pleroma/web/api_spec/operations/domain_mute_operation.ex
+++ b/lib/pleroma/web/api_spec/operations/domain_mute_operation.ex
@@ -56,9 +56,7 @@ defmodule Pleroma.Web.ApiSpec.DomainMuteOperation do
operationId: "DomainMuteController.delete",
requestBody: domain_mute_request(),
security: [%{"oAuth" => ["follow", "write:mutes"]}],
- responses: %{
- 200 => Operation.response("Empty object", "application/json", %Schema{type: :object})
- }
+ responses: %{200 => empty_object_response()}
}
end