From: Ekaterina Vaartis Date: Mon, 23 Sep 2019 21:37:27 +0000 (+0300) Subject: Also pretty print pack.json X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=e63f167f013c1c159c40745ee44535c65b999ffb;p=akkoma Also pretty print pack.json --- diff --git a/lib/pleroma/web/pleroma_api/controllers/emoji_api_controller.ex b/lib/pleroma/web/pleroma_api/controllers/emoji_api_controller.ex index 6beca426a..3ad29bd38 100644 --- a/lib/pleroma/web/pleroma_api/controllers/emoji_api_controller.ex +++ b/lib/pleroma/web/pleroma_api/controllers/emoji_api_controller.ex @@ -242,7 +242,7 @@ keeping it in cache for #{div(cache_ms, 1000)}s") File.write!( pack_file_p, - Jason.encode!(%{pack: %{}, files: %{}}) + Jason.encode!(%{pack: %{}, files: %{}}, pretty: true) ) conn |> json("ok")