Browse Source

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

visuddhinanda 1 month ago
parent
commit
fa52882004
1 changed files with 2 additions and 2 deletions
  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 = [
             $param = [
                 '--book' => $book,
                 '--book' => $book,
-                '--channel' => $this->workChannel,
+                '--channel' => $this->workChannel['id'],
             ];
             ];
             if ($this->option('para')) {
             if ($this->option('para')) {
                 $param['--para'] = $this->option('para');
                 $param['--para'] = $this->option('para');
@@ -225,7 +225,7 @@ class UpgradeAITranslation extends Command
 
 
             $param = [
             $param = [
                 'book' => $book,
                 'book' => $book,
-                '--channel' => $this->workChannel,
+                '--channel' => $this->workChannel['id'],
                 '--summary' => 'off',
                 '--summary' => 'off',
                 '--granularity' => 'chapter'
                 '--granularity' => 'chapter'
             ];
             ];