mirror of
https://github.com/plausible/analytics.git
synced 2024-11-24 12:42:30 +03:00
Remove warning
This commit is contained in:
parent
4ba5fb5ead
commit
4715c88308
@ -59,7 +59,7 @@ defmodule PlausibleWeb.Api.ExternalController do
|
|||||||
|
|
||||||
if user_agent do
|
if user_agent do
|
||||||
Cachex.fetch!(:user_agents, user_agent, fn ua ->
|
Cachex.fetch!(:user_agents, user_agent, fn ua ->
|
||||||
{:commit, UAInspector.parse(user_agent)}
|
{:commit, UAInspector.parse(ua)}
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user