Remove unused addRelay mutation

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-05-06 13:11:29 +02:00
parent 6eb2b6d31a
commit 05724476aa
4 changed files with 0 additions and 31 deletions

View File

@@ -352,13 +352,6 @@ defmodule Mobilizon.GraphQL.Schema.AdminType do
resolve(&Admin.create_instance/3)
end
@desc "Add a relay subscription"
field :add_relay, type: :follower do
arg(:address, non_null(:string), description: "The relay hostname to add")
resolve(&Admin.create_relay/3)
end
@desc "Delete a relay subscription"
field :remove_relay, type: :follower do
arg(:address, non_null(:string), description: "The relay hostname to delete")