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

index 0217b119d66f1a4ca0171f27a803ebb85193adc5..b0f44e8e2435e79cb02ab1ed9c7ba54d131d4755 100644 (file)
@@ -10,7 +10,7 @@ defmodule Pleroma.Web.MediaProxy.Invalidation.Script do
   require Logger
 
   @impl Pleroma.Web.MediaProxy.Invalidation
-  def purge(urls, opts \\ %{}) do
+  def purge(urls, opts \\ []) do
     args =
       urls
       |> List.wrap()