Return created workflow with ID when using create-from-template endpoint
[MAILPOET-4533]
This commit is contained in:
@ -156,6 +156,7 @@ class Workflow {
|
||||
|
||||
public function toArray(): array {
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'name' => $this->name,
|
||||
'status' => $this->status,
|
||||
'author' => $this->author->ID,
|
||||
|
Reference in New Issue
Block a user