Apply suggestion to lib/pleroma/web/media_proxy/invalidation.ex
This commit is contained in:
parent
abfb1c756b
commit
74fd761637
|
@ -32,6 +32,6 @@ defp do_purge(urls) do
|
||||||
def prepare_urls(urls) do
|
def prepare_urls(urls) do
|
||||||
urls
|
urls
|
||||||
|> List.wrap()
|
|> List.wrap()
|
||||||
|> Enum.map(&MediaProxy.url(&1))
|
|> Enum.map(&MediaProxy.url/1)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue