Parcourir la source

'--channel' => $this->workChannel['id'],

visuddhinanda il y a 2 mois
Parent
commit
fa52882004
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      api-v13/app/Console/Commands/UpgradeAITranslation.php

+ 2 - 2
api-v13/app/Console/Commands/UpgradeAITranslation.php

@@ -215,7 +215,7 @@ class UpgradeAITranslation extends Command
 
             $param = [
                 '--book' => $book,
-                '--channel' => $this->workChannel,
+                '--channel' => $this->workChannel['id'],
             ];
             if ($this->option('para')) {
                 $param['--para'] = $this->option('para');
@@ -225,7 +225,7 @@ class UpgradeAITranslation extends Command
 
             $param = [
                 'book' => $book,
-                '--channel' => $this->workChannel,
+                '--channel' => $this->workChannel['id'],
                 '--summary' => 'off',
                 '--granularity' => 'chapter'
             ];