Fix health check status

This commit is contained in:
Owen
2026-04-24 16:19:35 -07:00
parent 29f26021df
commit 34296e5f40

View File

@@ -101,7 +101,7 @@ export const handleHealthcheckStatusMessage: MessageHandler = async (
.where( .where(
and( and(
eq(targetHealthCheck.targetHealthCheckId, targetIdNum), eq(targetHealthCheck.targetHealthCheckId, targetIdNum),
eq(sites.siteId, newt.siteId) eq(targetHealthCheck.siteId, newt.siteId)
) )
) )
.limit(1); .limit(1);