Skip to content
Snippets Groups Projects
Verified Commit 3aec6b63 authored by jan.hamal.dvorak's avatar jan.hamal.dvorak
Browse files

Fix getReceiptsR


Remove a left-over query parameter.

Signed-off-by: default avatarJan Hamal Dvořák <mordae@anilinux.org>
parent b0be44ec
No related branches found
No related tags found
No related merge requests found
...@@ -147,7 +147,7 @@ where ...@@ -147,7 +147,7 @@ where
receipts <- query [sql| select status :: text, ts, updated, reason receipts <- query [sql| select status :: text, ts, updated, reason
from history where appid = ? and updated >= ? |] from history where appid = ? and updated >= ? |]
(appid, since, since) (appid, since)
sendJSON do sendJSON do
Array $ fromList [ object [ "status" .= (status :: Text) Array $ fromList [ object [ "status" .= (status :: Text)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment