no this isnt rails

This commit is contained in:
Luna D 2019-12-04 18:23:03 -05:00
parent 00373f44b2
commit 7c6a189dab
No known key found for this signature in database
GPG key ID: D0F46C94720BAA4B

View file

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