Fix MacError on MakeUser
This commit is contained in:
parent
d6fe858e84
commit
023772d929
1 changed files with 3 additions and 3 deletions
|
@ -35,10 +35,9 @@ class MakeUserCommand extends Command
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct(PterodactylSettings $ptero_settings)
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->pterodactyl = new PterodactylClient($ptero_settings);
|
||||
}
|
||||
|
||||
|
||||
|
@ -47,8 +46,9 @@ class MakeUserCommand extends Command
|
|||
*
|
||||
* @return int
|
||||
*/
|
||||
public function handle()
|
||||
public function handle(PterodactylSettings $ptero_settings)
|
||||
{
|
||||
$this->pterodactyl = new PterodactylClient($ptero_settings);
|
||||
$ptero_id = $this->option('ptero_id') ?? $this->ask('Please specify your Pterodactyl ID.');
|
||||
$password = $this->secret('password') ?? $this->ask('Please specify your password.');
|
||||
|
||||
|
|
Loading…
Reference in a new issue