Use "automation" instead of "workflow" in user-facing strings

[MAILPOET-4758]
This commit is contained in:
Jan Jakes
2022-11-02 21:29:35 +01:00
committed by David Remer
parent ccb5369c57
commit dc5e5b4f8b
39 changed files with 88 additions and 88 deletions

View File

@@ -40,7 +40,7 @@ class CreateWorkflowFromTemplateController {
$workflowId = $this->storage->createWorkflow($workflow);
$savedWorkflow = $this->storage->getWorkflow($workflowId);
if (!$savedWorkflow) {
throw new InvalidStateException('Workflow not found.');
throw new InvalidStateException('Automation not found.');
}
return $savedWorkflow;
}