fix: [worflow:walkGraph] Correct usage of oganisation key

pull/8530/head
Sami Mokaddem 2022-08-04 15:12:30 +02:00
parent 2bedcda740
commit 8494c6d187
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 2 additions and 2 deletions

View File

@ -562,9 +562,9 @@ class Workflow extends AppModel
$userForWorkflow = [
'email' => 'SYSTEM',
'id' => 0,
'org_id' => $hostOrg['Org']['id'],
'org_id' => $hostOrg['Organisation']['id'],
'Role' => ['perm_site_admin' => 1],
'Organisation' => $hostOrg['Org']
'Organisation' => $hostOrg['Organisation']
];
} else {
$this->User = ClassRegistry::init('User');