Fix number casting issue
This commit is contained in:
parent
b71bf6542e
commit
1096e9ca9a
@ -90,7 +90,7 @@ export async function getMonitorSummaryWithDay(
|
|||||||
"MonitorData"
|
"MonitorData"
|
||||||
WHERE
|
WHERE
|
||||||
"monitorId" = ${monitorId} AND
|
"monitorId" = ${monitorId} AND
|
||||||
"createdAt" >= CURRENT_DATE - INTERVAL '${beforeDay} days'
|
"createdAt" >= CURRENT_DATE - INTERVAL '1 day' * ${beforeDay}
|
||||||
GROUP BY
|
GROUP BY
|
||||||
DATE("createdAt")
|
DATE("createdAt")
|
||||||
ORDER BY
|
ORDER BY
|
||||||
|
Loading…
Reference in New Issue
Block a user