fix: 🐛 Call parent constructor on model
This commit is contained in:
parent
8c547414b4
commit
bc56f713ad
2 changed files with 4 additions and 0 deletions
app/Models
|
@ -69,6 +69,8 @@ class Server extends Model
|
|||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$ptero_settings = new PterodactylSettings();
|
||||
$this->pterodactyl = new PterodactylClient($ptero_settings);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue