Merge branch 'emoji-pack-json-pretty' into 'develop'
Also pretty print pack.json See merge request pleroma/pleroma!1710
This commit is contained in:
commit
db0c00db8b
|
@ -242,7 +242,7 @@ def create(conn, %{"name" => name}) do
|
|||
|
||||
File.write!(
|
||||
pack_file_p,
|
||||
Jason.encode!(%{pack: %{}, files: %{}})
|
||||
Jason.encode!(%{pack: %{}, files: %{}}, pretty: true)
|
||||
)
|
||||
|
||||
conn |> json("ok")
|
||||
|
|
Loading…
Reference in New Issue