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