Skip to content

Commit 90cddb0

Browse files
authored
Merge pull request #17 from Glennmen/fix-env-var
Resolve PloiAPI via service container
2 parents 6c73e73 + ebe5df5 commit 90cddb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Commands/Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function __construct()
1616
{
1717
parent::__construct();
1818

19-
$this->ploi = new PloiAPI;
19+
$this->ploi = app(PloiAPI::class);
2020
$this->configuration = new Configuration;
2121
}
2222

0 commit comments

Comments
 (0)