Fix unused assignment
This commit is contained in:
parent
43bb2f39db
commit
da7394f33b
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user