diff --git a/lib/plausible_web/controllers/api/external_controller.ex b/lib/plausible_web/controllers/api/external_controller.ex index eb93cc1f0..a1b710e4a 100644 --- a/lib/plausible_web/controllers/api/external_controller.ex +++ b/lib/plausible_web/controllers/api/external_controller.ex @@ -59,7 +59,7 @@ defmodule PlausibleWeb.Api.ExternalController do if user_agent do Cachex.fetch!(:user_agents, user_agent, fn ua -> - {:commit, UAInspector.parse(user_agent)} + {:commit, UAInspector.parse(ua)} end) end end