Empty list as default

This commit is contained in:
Mark Felder 2020-06-17 12:54:02 -05:00
parent 3462d4b995
commit 71a5d9bffb
1 changed files with 1 additions and 1 deletions

View File

@ -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, [])