Revert "Pleroma.Web.AdminAPI.MediaProxyCacheController: dialyzer errors"
This reverts commit 8b02c85810.
This commit is contained in:
parent
88a35b2865
commit
8476eb1842
2 changed files with 7 additions and 7 deletions
|
|
@ -78,9 +78,9 @@ defmodule Pleroma.Web.ApiSpec.Admin.MediaProxyCacheOperation do
|
|||
"Parameters",
|
||||
%Schema{
|
||||
type: :object,
|
||||
required: ["urls"],
|
||||
required: [:urls],
|
||||
properties: %{
|
||||
"urls" => %Schema{type: :array, items: %Schema{type: :string, format: :uri}}
|
||||
urls: %Schema{type: :array, items: %Schema{type: :string, format: :uri}}
|
||||
}
|
||||
},
|
||||
required: true
|
||||
|
|
@ -104,10 +104,10 @@ defmodule Pleroma.Web.ApiSpec.Admin.MediaProxyCacheOperation do
|
|||
"Parameters",
|
||||
%Schema{
|
||||
type: :object,
|
||||
required: ["urls"],
|
||||
required: [:urls],
|
||||
properties: %{
|
||||
"urls" => %Schema{type: :array, items: %Schema{type: :string, format: :uri}},
|
||||
"ban" => %Schema{type: :boolean, default: true}
|
||||
urls: %Schema{type: :array, items: %Schema{type: :string, format: :uri}},
|
||||
ban: %Schema{type: :boolean, default: true}
|
||||
}
|
||||
},
|
||||
required: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue