Apply suggestion to lib/pleroma/web/media_proxy/invalidations/script.ex

This commit is contained in:
Maksim 2020-06-17 13:12:32 +00:00
parent 078d687e6e
commit 44ce97a9c9

View 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()