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(" ")
|
|> Enum.join(" ")
|
||||||
|
|
||||||
opts
|
opts
|
||||||
|> Keyword.get(:script_path, nil)
|
|> Keyword.get(:script_path)
|
||||||
|> do_purge([args])
|
|> do_purge([args])
|
||||||
|> handle_result(urls)
|
|> handle_result(urls)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user