Skip to content

Commit

Permalink
ZennerIoT#14 Unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
neodevelop committed Mar 20, 2021
1 parent c3c8751 commit 63892b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tracking/tracking.ex
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ defmodule ExAudit.Tracking do
end

defp with_precision(date) do
case precision = Application.get_env(:ex_audit, :precision) do
case Application.get_env(:ex_audit, :precision) do
nil -> date
precision -> DateTime.truncate(date, precision)
end
Expand Down

0 comments on commit 63892b3

Please sign in to comment.