فهرست منبع

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

visuddhinanda 1 ماه پیش
والد
کامیت
fa52882004
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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'
             ];
             ];