🏷️ 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
.update(targetHealthCheck)
.set({
hcHealth: healthStatus.status
hcHealth: healthStatus.status as
| "unknown"
| "healthy"
| "unhealthy"
})
.where(eq(targetHealthCheck.targetId, targetIdNum))
.execute();