From a4ba88d3e28843a9f722a3e0b94db3ec26e02d66 Mon Sep 17 00:00:00 2001 From: 778a69cd <778a69cd@potsda.mn> Date: Mon, 3 Apr 2023 13:18:50 +0200 Subject: [PATCH] Revert "Reformatted ex files" This reverts commit 8e4f698532889323c8b649fe421f413ac3dc3a75. --- lib/graphql/schema/admin.ex | 12 ++---------- lib/graphql/schema/config.ex | 4 +--- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/lib/graphql/schema/admin.ex b/lib/graphql/schema/admin.ex index 9d641b3e9..4db30413e 100644 --- a/lib/graphql/schema/admin.ex +++ b/lib/graphql/schema/admin.ex @@ -114,11 +114,7 @@ defmodule Mobilizon.GraphQL.Schema.AdminType do field(:instance_long_description, :string, description: "The instance's long description") field(:instance_slogan, :string, description: "The instance's slogan") field(:contact, :string, description: "The instance's contact details") - - field(:instance_homepage_sorting, :instance_homepage_sorting, - description: "The instance's homepage sorting" - ) - + field(:instance_homepage_sorting, :instance_homepage_sorting, description: "The instance's homepage sorting") field(:instance_terms, :string, description: "The instance's terms body text") field(:instance_terms_type, :instance_terms_type, description: "The instance's terms type") field(:instance_terms_url, :string, description: "The instance's terms URL") @@ -397,11 +393,7 @@ defmodule Mobilizon.GraphQL.Schema.AdminType do arg(:instance_long_description, :string, description: "The instance's long description") arg(:instance_slogan, :string, description: "The instance's slogan") arg(:contact, :string, description: "The instance's contact details") - - arg(:instance_homepage_sorting, :instance_homepage_sorting, - description: "The instance's homepage sorting" - ) - + arg(:instance_homepage_sorting, :instance_homepage_sorting, description: "The instance's homepage sorting") arg(:instance_terms, :string, description: "The instance's terms body text") arg(:instance_terms_type, :instance_terms_type, description: "The instance's terms type") arg(:instance_terms_url, :string, description: "The instance's terms URL") diff --git a/lib/graphql/schema/config.ex b/lib/graphql/schema/config.ex index 9033fd786..5c2f5d3ba 100644 --- a/lib/graphql/schema/config.ex +++ b/lib/graphql/schema/config.ex @@ -48,9 +48,7 @@ defmodule Mobilizon.GraphQL.Schema.ConfigType do field(:version, :string, description: "The instance's version") field(:federating, :boolean, description: "Whether this instance is federation") - field(:instance_homepage_sorting, :instance_homepage_sorting, - description: "The instance's homepage sorting" - ) + field(:instance_homepage_sorting, :instance_homepage_sorting, description: "The instance's homepage sorting") field(:terms, :terms, description: "The instance's terms") do arg(:locale, :string,