Merge branch 'Ctrlpanel-gg:development' into development

This commit is contained in:
Dennis 2023-05-07 21:30:05 +02:00 committed by GitHub
commit 438a3374b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -69,6 +69,8 @@ class Server extends Model
public function __construct()
{
parent::__construct();
$ptero_settings = new PterodactylSettings();
$this->pterodactyl = new PterodactylClient($ptero_settings);
}

View file

@ -93,6 +93,8 @@ class User extends Authenticatable implements MustVerifyEmail
public function __construct()
{
parent::__construct();
$ptero_settings = new PterodactylSettings();
$this->pterodactyl = new PterodactylClient($ptero_settings);
}