Fix compiler warning

This commit is contained in:
Uku Taht 2021-11-15 17:13:37 +02:00
parent c4dcd87c08
commit f88956ef3c

View File

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