Integrate Mail, Nexmo and Slack notifications into Cachet

This commit is contained in:
James Brooks
2016-12-30 16:22:05 +00:00
parent 056b80a2bc
commit b8a9f41ae4
43 changed files with 1104 additions and 682 deletions
@@ -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;
}