Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
Maksim 2020-11-18 05:19:01 +00:00
parent e4b202d905
commit 25eb222bed

View File

@ -180,7 +180,7 @@ defmodule Pleroma.Web.PleromaAPI.EmojiPackController do
|> json(%{error: "pack name cannot be empty"}) |> json(%{error: "pack name cannot be empty"})
{:error, error, _} -> {:error, error, _} ->
error_message = add_posix_error("Couldn't delete the pack #{name}", error) error_message = add_posix_error("Couldn't delete the #{name} pack", error)
conn conn
|> put_status(:internal_server_error) |> put_status(:internal_server_error)