Fix incorrect query parameters in a couple of builds queries

The parameters must be strings rather than numbers.
This commit is contained in:
Christopher Baines 2021-05-12 08:28:06 +01:00
parent cdb41cfa3c
commit 2a4b16f5e4

View file

@ -53,7 +53,7 @@
'()) '())
,@(if system ,@(if system
`(("package_derivations.system_id = $" . `(("package_derivations.system_id = $" .
,(system->system-id conn system))) ,(number->string (system->system-id conn system))))
'()) '())
,@(if target ,@(if target
`(("package_derivations.target = $" . ,target)) `(("package_derivations.target = $" . ,target))
@ -146,7 +146,7 @@ ORDER BY status"))
'()) '())
,@(if system ,@(if system
`(("package_derivations.system_id = $" . `(("package_derivations.system_id = $" .
,(system->system-id conn system))) ,(number->string (system->system-id conn system))))
'()) '())
,@(if target ,@(if target
`(("package_derivations.target = $" . ,target)) `(("package_derivations.target = $" . ,target))