diff options
author | rinpatch <rinpatch@sdf.org> | 2019-01-09 18:42:00 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-01-09 18:42:00 +0000 |
commit | b57db828c7555e319c5ced4c1804c9f581ef5cdc (patch) | |
tree | aa6810f5f49436041b1bc9ee75ba3c75f21405c7 /lib | |
parent | 1881680e28273035333a121e2135781f1ae3f15a (diff) | |
parent | a2d7f0e0e9aaf03798b11d5c158c9382eaf698a1 (diff) | |
download | pleroma-b57db828c7555e319c5ced4c1804c9f581ef5cdc.tar.gz |
Merge branch 'hotfix/ogp-cachex-fix' into 'develop'
Rich media: Remove :commit since a tuple is already returned
See merge request pleroma/pleroma!649
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/rich_media/parser.ex | 2 |
1 files changed, 1 insertions, 1 deletions
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 |