refactor: Update ProbeMonitorResponseService to include remediation notes

This commit updates the ProbeMonitorResponseService class to include a check for the presence of remediation notes in the criteriaIncident object. If remediation notes are provided, they are assigned to the incident object. This change enhances the functionality of the ProbeMonitorResponseService by allowing the storage and retrieval of remediation notes for incidents.
This commit is contained in:
Simon Larsen
2024-06-18 13:08:56 +01:00
parent e7f4c962b8
commit 082d800c34

View File

@@ -750,7 +750,7 @@ export default class ProbeMonitorResponseService {
).probeId;
}
if(criteriaIncident.remediationNotes){
if (criteriaIncident.remediationNotes) {
incident.remediationNotes = criteriaIncident.remediationNotes;
}