mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-04-24 05:47:41 -04:00
operation use helper function for empty object
This commit is contained in:
parent
d4f50f2ba9
commit
c95bbeadc3
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue