commit: da7394f33b4402325b220dcd2957945464517f8b
parent 43bb2f39db0bd7028512cba402f6b5aa1610c1db
Author: Mark Felder <feld@feld.me>
Date: Mon, 29 May 2023 15:09:31 -0400
Fix unused assignment
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/lib/pleroma/web/plugs/uploaded_media.ex b/lib/pleroma/web/plugs/uploaded_media.ex
@@ -56,8 +56,6 @@ defmodule Pleroma.Web.Plugs.UploadedMedia do
get_media(conn, get_method, proxy_remote, opts)
else
{:valid_host, false} ->
- conn
-
send_resp(conn, 400, Plug.Conn.Status.reason_phrase(400))
|> halt()