From e2ce0e9e05ad09797f18b1a6adff4616704a48cc Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 1 Sep 2018 21:12:42 +0000 Subject: [PATCH] run `mix format`. --- lib/pleroma/web/twitter_api/controllers/util_controller.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pleroma/web/twitter_api/controllers/util_controller.ex b/lib/pleroma/web/twitter_api/controllers/util_controller.ex index 5b24809f9..886b70f5f 100644 --- a/lib/pleroma/web/twitter_api/controllers/util_controller.ex +++ b/lib/pleroma/web/twitter_api/controllers/util_controller.ex @@ -176,11 +176,11 @@ def config(conn, _params) do chatDisabled: !Keyword.get(@instance_chat, :enabled), showInstanceSpecificPanel: Keyword.get(@instance_fe, :show_instance_panel), scopeOptionsEnabled: Keyword.get(@instance_fe, :scope_options_enabled), - collapseMessageWithSubject: - Keyword.get(@instance_fe, :collapse_message_with_subject) + collapseMessageWithSubject: Keyword.get(@instance_fe, :collapse_message_with_subject) } managed_config = Keyword.get(@instance, :managed_config) + data = if managed_config do data |> Map.put("pleromafe", pleroma_fe)