projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3462d4b
)
Empty list as default
author
Mark Felder
<feld@FreeBSD.org>
Wed, 17 Jun 2020 17:54:02 +0000
(12:54 -0500)
committer
Mark Felder
<feld@FreeBSD.org>
Wed, 17 Jun 2020 17:54:02 +0000
(12:54 -0500)
lib/pleroma/web/media_proxy/invalidations/http.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/media_proxy/invalidations/http.ex
b/lib/pleroma/web/media_proxy/invalidations/http.ex
index 3694b56e8d89fc55fba6a093920adee9c812510c..bb81d8888365d2e88b50e215f3d418bacd69e8fd 100644
(file)
--- a/
lib/pleroma/web/media_proxy/invalidations/http.ex
+++ b/
lib/pleroma/web/media_proxy/invalidations/http.ex
@@
-9,7
+9,7
@@
defmodule Pleroma.Web.MediaProxy.Invalidation.Http do
require Logger
@impl Pleroma.Web.MediaProxy.Invalidation
- def purge(urls, opts) do
+ def purge(urls, opts
\\ []
) do
method = Keyword.get(opts, :method, :purge)
headers = Keyword.get(opts, :headers, [])
options = Keyword.get(opts, :options, [])