This commit is contained in:
2021-02-20 13:08:54 +08:00
parent d05cb47f66
commit 163c823d25
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ class Command extends \Console\Command
*/
public function onHandler(Input $dtl): string
{
$manager = Snowflake::app()->server;
$manager = Snowflake::app()->getServer();
$manager->setDaemon($dtl->get('daemon', 0));
if (!in_array($dtl->get('action'), self::ACTIONS)) {