From 7c6a189dabceed34ef5bc64190fb46681913ef0e Mon Sep 17 00:00:00 2001 From: Luna D Date: Wed, 4 Dec 2019 18:23:03 -0500 Subject: [PATCH] no this isnt rails --- lib/philomena/dnp_entries.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/philomena/dnp_entries.ex b/lib/philomena/dnp_entries.ex index db6ae483..ed1440a1 100644 --- a/lib/philomena/dnp_entries.ex +++ b/lib/philomena/dnp_entries.ex @@ -104,7 +104,7 @@ defmodule Philomena.DnpEntries do def count_dnp_entries() do DnpEntry - |> where([dnp], dnp.aasm_state in [ "requested", "claimed", "acknowledged" ]) + |> where([dnp], dnp.aasm_state in ["requested", "claimed", "acknowledged"]) |> Repo.aggregate(:count, :id) end end