From: rinpatch Date: Wed, 9 Jan 2019 18:35:01 +0000 (+0300) Subject: Remove :commit since a tuple is already returned X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=a2d7f0e0e9aaf03798b11d5c158c9382eaf698a1;p=akkoma Remove :commit since a tuple is already returned --- diff --git a/lib/pleroma/web/rich_media/parser.ex b/lib/pleroma/web/rich_media/parser.ex index 3746feaf6..18d9e2df5 100644 --- a/lib/pleroma/web/rich_media/parser.ex +++ b/lib/pleroma/web/rich_media/parser.ex @@ -5,7 +5,7 @@ defmodule Pleroma.Web.RichMedia.Parser do def parse(url), do: parse_url(url) else def parse(url), - do: {:commit, Cachex.fetch!(:rich_media_cache, url, fn _ -> parse_url(url) end)} + do: Cachex.fetch!(:rich_media_cache, url, fn _ -> parse_url(url) end) end defp parse_url(url) do