Merge pull request #3498 from bluewave-labs/fix/stats-init
fix: initialize timeOfLastFailure
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user