Call update

This commit is contained in:
James Brooks
2016-11-25 20:04:40 +00:00
parent 4ab7d55e42
commit da7a7f41dd

View File

@@ -104,7 +104,7 @@ class ReportIncidentCommandHandler
));
}
$incident->notify = (bool) $command->notify;
$incident->update(['notify' => (bool) $command->notify]);
event(new IncidentWasReportedEvent($incident));