mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 18:48:06 +03:00
Fix compiler warning
This commit is contained in:
parent
c4dcd87c08
commit
f88956ef3c
@ -616,7 +616,7 @@ defmodule PlausibleWeb.Api.StatsController do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
defp calculate_cr(nil, converted_visitors), do: 100.0
|
defp calculate_cr(nil, _converted_visitors), do: 100.0
|
||||||
|
|
||||||
defp calculate_cr(unique_visitors, converted_visitors) do
|
defp calculate_cr(unique_visitors, converted_visitors) do
|
||||||
if unique_visitors > 0,
|
if unique_visitors > 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user