Update emoji_api_controller.ex

This commit is contained in:
feld 2020-01-30 14:09:41 +00:00
parent e7fee0d6fa
commit b3e9c87724
1 changed files with 1 additions and 1 deletions

View File

@ -591,7 +591,7 @@ def import_from_fs(conn, _params) do
{:ok, %{access: _}} -> {:ok, %{access: _}} ->
conn conn
|> put_status(:internal_server_error) |> put_status(:internal_server_error)
|> json(%{error: "Error emoji pack directory must be writable and readable"}) |> json(%{error: "Error: emoji pack directory must be writable"})
{:error, _} -> {:error, _} ->
conn conn