Apply suggestion to lib/pleroma/web/media_proxy/invalidation.ex

This commit is contained in:
Maksim 2020-06-17 12:56:30 +00:00
parent abfb1c756b
commit 74fd761637
1 changed files with 1 additions and 1 deletions

View File

@ -32,6 +32,6 @@ defp do_purge(urls) do
def prepare_urls(urls) do
urls
|> List.wrap()
|> Enum.map(&MediaProxy.url(&1))
|> Enum.map(&MediaProxy.url/1)
end
end