Integrate Mail, Nexmo and Slack notifications into Cachet
This commit is contained in:
@@ -105,9 +105,7 @@ class ReportIncidentCommandHandler
|
||||
));
|
||||
}
|
||||
|
||||
$incident->update(['notify' => (bool) $command->notify]);
|
||||
|
||||
event(new IncidentWasReportedEvent($incident));
|
||||
event(new IncidentWasReportedEvent($incident, (bool) $command->notify));
|
||||
|
||||
return $incident;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user