Also pretty print pack.json
This commit is contained in:
parent
f60beecfa7
commit
e63f167f01
|
@ -242,7 +242,7 @@ def create(conn, %{"name" => name}) do
|
||||||
|
|
||||||
File.write!(
|
File.write!(
|
||||||
pack_file_p,
|
pack_file_p,
|
||||||
Jason.encode!(%{pack: %{}, files: %{}})
|
Jason.encode!(%{pack: %{}, files: %{}}, pretty: true)
|
||||||
)
|
)
|
||||||
|
|
||||||
conn |> json("ok")
|
conn |> json("ok")
|
||||||
|
|
Loading…
Reference in New Issue