add not notify on default incident state

This commit is contained in:
Simon Larsen 2024-10-18 16:41:33 +01:00
parent 365e44ebf9
commit 4cefa756d6
No known key found for this signature in database
GPG Key ID: 96C5DCA24769DBCA

View File

@ -526,6 +526,7 @@ export default class MonitorResourceUtil {
monitorStatusTimeline.monitorStatusId =
monitorSteps.data.defaultMonitorStatusId!;
monitorStatusTimeline.projectId = monitor.projectId!;
monitorStatusTimeline.isOwnerNotified = true; // no need to notify owner as this is default status.
monitorStatusTimeline.statusChangeLog = JSON.parse(
JSON.stringify(dataToProcess),
);