visuddhinanda преди 2 години
родител
ревизия
75f10fc240
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1 2
      app/Console/Commands/UpgradeDaily.php

+ 1 - 2
app/Console/Commands/UpgradeDaily.php

@@ -57,7 +57,7 @@ class UpgradeDaily extends Command
         //更新单词首选意思
         $this->call('upgrade:dict.default.meaning');
         //社区术语表
-        $this->call('upgrade:community.term',['zh-Hans']);
+        $this->call('upgrade:community.term',['lang'=>'zh-Hans']);
 
         #译文进度
         $this->call('upgrade:progress');
@@ -87,7 +87,6 @@ class UpgradeDaily extends Command
 			]);
 		}
 
-
         return 0;
     }
 }