projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c5c850
)
Remove :commit since a tuple is already returned
author
rinpatch
<rinpatch@sdf.org>
Wed, 9 Jan 2019 18:35:01 +0000
(21:35 +0300)
committer
rinpatch
<rinpatch@sdf.org>
Wed, 9 Jan 2019 18:35:01 +0000
(21:35 +0300)
lib/pleroma/web/rich_media/parser.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/rich_media/parser.ex
b/lib/pleroma/web/rich_media/parser.ex
index 3746feaf688b275b8a70cc5bb15ac91a40191b58..18d9e2df5cdb56f28c8cd31ef788c9a3ae5518fe 100644
(file)
--- 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