Save and load workflows in the new format, update API
[MAILPOET-4523]
This commit is contained in:
committed by
John Oleksowicz
parent
9028ea96ec
commit
1677cc2842
@ -33,13 +33,6 @@ class UpdateStepsController {
|
||||
if (!$step) {
|
||||
throw Exceptions::workflowStepNotFound($key);
|
||||
}
|
||||
|
||||
return new Step(
|
||||
$data['id'],
|
||||
$data['type'],
|
||||
$data['key'],
|
||||
$data['next_step_id'] ?? null,
|
||||
$data['args'] ?? null
|
||||
);
|
||||
return Step::fromArray($data);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user