Apply suggestion to lib/pleroma/web/media_proxy/invalidations/script.ex
This commit is contained in:
parent
44ce97a9c9
commit
9a371bf5f6
|
@ -18,7 +18,7 @@ def purge(urls, opts \\ []) do
|
|||
|> Enum.join(" ")
|
||||
|
||||
opts
|
||||
|> Keyword.get(:script_path, nil)
|
||||
|> Keyword.get(:script_path)
|
||||
|> do_purge([args])
|
||||
|> handle_result(urls)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue