Apply suggestion to lib/pleroma/web/media_proxy/invalidation.ex
authorMaksim <parallel588@gmail.com>
Wed, 17 Jun 2020 12:56:30 +0000 (12:56 +0000)
committerMaksim <parallel588@gmail.com>
Wed, 17 Jun 2020 12:56:30 +0000 (12:56 +0000)
lib/pleroma/web/media_proxy/invalidation.ex

index 83ff8589c96917620e574b1ce7cf5b45129224fe..6da7eb720ac9349ad01bdc567d1ddb4dae438619 100644 (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