diff --git a/app/Commands/Command.php b/app/Commands/Command.php index 4f9f3a9..87078ed 100644 --- a/app/Commands/Command.php +++ b/app/Commands/Command.php @@ -16,7 +16,7 @@ public function __construct() { parent::__construct(); - $this->ploi = new PloiAPI; + $this->ploi = app(PloiAPI::class); $this->configuration = new Configuration; }