Apply suggestion to lib/pleroma/web/media_proxy/invalidations/script.ex

This commit is contained in:
Maksim 2020-06-17 13:12:38 +00:00
parent 44ce97a9c9
commit 9a371bf5f6

View file

@ -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