Merge branch 'hotfix/rich-media-compile-error' into 'develop'
authorrinpatch <rinpatch@sdf.org>
Mon, 14 Sep 2020 12:48:27 +0000 (12:48 +0000)
committerrinpatch <rinpatch@sdf.org>
Thu, 17 Sep 2020 16:06:10 +0000 (19:06 +0300)
RichMedia: fix a compilation error due to nonexistent variable

See merge request pleroma/pleroma!2996

lib/pleroma/web/rich_media/parser.ex

index 49ba22c90911dcb62714e3e2d15e73e9321f2c83..569249f51ff59f626c378c73e1ca05e981677f30 100644 (file)
@@ -34,7 +34,7 @@ defmodule Pleroma.Web.RichMedia.Parser do
         {:error, :body_too_large} = e ->
           e
 
-        {:error, {:content_type, _}} ->
+        {:error, {:content_type, _}} = e ->
           e
 
         # The TTL is not set for the errors above, since they are unlikely to change