Fix command dispatching
This commit is contained in:
@@ -88,7 +88,7 @@ class UpdateIncidentCommandHandler
|
||||
|
||||
// Update the component.
|
||||
if ($component = Component::find($command->component_id)) {
|
||||
dispatch(new UpdateComponentCommand(
|
||||
execute(new UpdateComponentCommand(
|
||||
Component::find($command->component_id),
|
||||
null,
|
||||
null,
|
||||
|
||||
Reference in New Issue
Block a user