projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'preload-fixups-2' into preloadfixups
[akkoma]
/
lib
/
pleroma
/
web
/
media_proxy
/
invalidations
/
script.ex
diff --git
a/lib/pleroma/web/media_proxy/invalidations/script.ex
b/lib/pleroma/web/media_proxy/invalidations/script.ex
index 0217b119d66f1a4ca0171f27a803ebb85193adc5..d32ffc50b7fb4907a8bdcbcb511bd22181818119 100644
(file)
--- a/
lib/pleroma/web/media_proxy/invalidations/script.ex
+++ b/
lib/pleroma/web/media_proxy/invalidations/script.ex
@@
-10,7
+10,7
@@
defmodule Pleroma.Web.MediaProxy.Invalidation.Script do
require Logger
@impl Pleroma.Web.MediaProxy.Invalidation
require Logger
@impl Pleroma.Web.MediaProxy.Invalidation
- def purge(urls, opts \\
%{}
) do
+ def purge(urls, opts \\
[]
) do
args =
urls
|> List.wrap()
args =
urls
|> List.wrap()
@@
-18,7
+18,7
@@
defmodule Pleroma.Web.MediaProxy.Invalidation.Script do
|> Enum.join(" ")
opts
|> Enum.join(" ")
opts
- |> Keyword.get(:script_path
, nil
)
+ |> Keyword.get(:script_path)
|> do_purge([args])
|> handle_result(urls)
end
|> do_purge([args])
|> handle_result(urls)
end