Fix unused assignment

This commit is contained in:
Mark Felder 2023-05-29 15:09:31 -04:00
parent 43bb2f39db
commit da7394f33b

View File

@ -56,8 +56,6 @@ defmodule Pleroma.Web.Plugs.UploadedMedia do
get_media(conn, get_method, proxy_remote, opts) get_media(conn, get_method, proxy_remote, opts)
else else
{:valid_host, false} -> {:valid_host, false} ->
conn
send_resp(conn, 400, Plug.Conn.Status.reason_phrase(400)) send_resp(conn, 400, Plug.Conn.Status.reason_phrase(400))
|> halt() |> halt()