logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: da7394f33b4402325b220dcd2957945464517f8b
parent 43bb2f39db0bd7028512cba402f6b5aa1610c1db
Author: Mark Felder <feld@feld.me>
Date:   Mon, 29 May 2023 15:09:31 -0400

Fix unused assignment

Diffstat:

Mlib/pleroma/web/plugs/uploaded_media.ex2--
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()