Merge pull request #3498 from bluewave-labs/fix/stats-init

fix: initialize timeOfLastFailure
This commit is contained in:
Alexander Holliday authored and GitHub committed 2026-04-13 11:01:59 -07:00
commit 6222635eef
1 file changed
+1
@@ -96,6 +96,7 @@ export class StatusService implements IStatusService {
uptimePercentage: 0,
lastResponseTime: 0,
lastCheckTimestamp: 0,
timeOfLastFailure: 0,
};
} else {
// Use existing stats (omit id, monitorId, createdAt, updatedAt)