Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Remove redundant options merge (#5665)

Adam Rutkowski88cf2ac9ae5b
diff --git a/lib/plausible/installation_support/checks/detection.ex b/lib/plausible/installation_support/checks/detection.ex
index d52cf73a22..88ca02adaa 100644
--- a/lib/plausible/installation_support/checks/detection.ex
+++ b/lib/plausible/installation_support/checks/detection.ex
@@ -88,9 +88,6 @@ defmodule Plausible.InstallationSupport.Checks.Detection do
]
|> Keyword.merge(Application.get_env(:plausible, __MODULE__)[:req_opts] || [])
- extra_opts = Application.get_env(:plausible, __MODULE__)[:req_opts] || []
- opts = Keyword.merge(opts, extra_opts)
-
case Req.post(BrowserlessConfig.browserless_function_api_endpoint(), opts) do
{:ok, %{body: body, status: status}} ->
handle_browserless_response(state, body, status)