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

View file

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