RichMedia: fix a compilation error due to nonexistent variable
authorrinpatch <rinpatch@sdf.org>
Mon, 14 Sep 2020 12:46:00 +0000 (15:46 +0300)
committerrinpatch <rinpatch@sdf.org>
Mon, 14 Sep 2020 12:46:00 +0000 (15:46 +0300)
No idea why this passed Gitlab CI

lib/pleroma/web/rich_media/parser.ex

index ab8f359223d97a29a59b0f192f46da66b69c8091..33f6f1fa1bba2aab9ce02476af39499747066c92 100644 (file)
@@ -39,7 +39,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