diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-05-19 09:36:49 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-05-19 09:36:49 +0300 |
commit | c95bbeadc3c0b9a256c0aa2a652b4eee1e0d394d (patch) | |
tree | 0641de4c5803bd98917fb84dfe196627c29213de /lib | |
parent | d4f50f2ba97a992c6b0ef09b284c3df326e07550 (diff) | |
download | pleroma-fix/1650-domain-mutes.tar.gz |
operation use helper function for empty objectfix/1650-domain-mutes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/api_spec/operations/domain_mute_operation.ex | 4 |
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 |