diff options
author | Mark Felder <feld@feld.me> | 2024-01-30 14:14:22 -0500 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2024-01-30 14:14:22 -0500 |
commit | ac06a476896831ce74e87cd5d3b889d34426ad73 (patch) | |
tree | 02c3a848ef7a75cab592792289921c88bd45f518 /lib/pleroma/web/api_spec/operations/admin | |
parent | da5e0fca4fee099b65a76f27013032776600ac40 (diff) | |
download | pleroma-ac06a476896831ce74e87cd5d3b889d34426ad73.tar.gz pleroma-ac06a476896831ce74e87cd5d3b889d34426ad73.zip |
Revert "Pleroma.Web.AdminAPI.RelayController: dialyzer errors"
This reverts commit 94838ed941494fb6132086aa2cb3b5e65a00b08c.
Diffstat (limited to 'lib/pleroma/web/api_spec/operations/admin')
-rw-r--r-- | lib/pleroma/web/api_spec/operations/admin/relay_operation.ex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pleroma/web/api_spec/operations/admin/relay_operation.ex b/lib/pleroma/web/api_spec/operations/admin/relay_operation.ex index ca9080fb3..8b241bd49 100644 --- a/lib/pleroma/web/api_spec/operations/admin/relay_operation.ex +++ b/lib/pleroma/web/api_spec/operations/admin/relay_operation.ex @@ -87,7 +87,7 @@ defmodule Pleroma.Web.ApiSpec.Admin.RelayOperation do %Schema{ type: :object, properties: %{ - "relay_url" => %Schema{type: :string, format: :uri} + relay_url: %Schema{type: :string, format: :uri} } } end @@ -96,8 +96,8 @@ defmodule Pleroma.Web.ApiSpec.Admin.RelayOperation do %Schema{ type: :object, properties: %{ - "relay_url" => %Schema{type: :string, format: :uri}, - "force" => %Schema{type: :boolean, default: false} + relay_url: %Schema{type: :string, format: :uri}, + force: %Schema{type: :boolean, default: false} } } end |