🏷️ fix typescript error

This commit is contained in:
Fred KISSIE
2026-02-05 05:35:59 +01:00
parent 748af1d8cb
commit 609ffccd67

View File

@@ -105,7 +105,10 @@ export const handleHealthcheckStatusMessage: MessageHandler = async (
await db await db
.update(targetHealthCheck) .update(targetHealthCheck)
.set({ .set({
hcHealth: healthStatus.status hcHealth: healthStatus.status as
| "unknown"
| "healthy"
| "unhealthy"
}) })
.where(eq(targetHealthCheck.targetId, targetIdNum)) .where(eq(targetHealthCheck.targetId, targetIdNum))
.execute(); .execute();