forked from mirrors/akkoma
Update emoji_api_controller.ex
This commit is contained in:
parent
e7fee0d6fa
commit
b3e9c87724
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue