forked from AkkomaGang/akkoma
Empty list as default
This commit is contained in:
parent
3462d4b995
commit
71a5d9bffb
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ defmodule Pleroma.Web.MediaProxy.Invalidation.Http do
|
||||||
require Logger
|
require Logger
|
||||||
|
|
||||||
@impl Pleroma.Web.MediaProxy.Invalidation
|
@impl Pleroma.Web.MediaProxy.Invalidation
|
||||||
def purge(urls, opts) do
|
def purge(urls, opts \\ []) do
|
||||||
method = Keyword.get(opts, :method, :purge)
|
method = Keyword.get(opts, :method, :purge)
|
||||||
headers = Keyword.get(opts, :headers, [])
|
headers = Keyword.get(opts, :headers, [])
|
||||||
options = Keyword.get(opts, :options, [])
|
options = Keyword.get(opts, :options, [])
|
||||||
|
|
Loading…
Reference in a new issue