parent
1d2a20d831
commit
d632fa97de
1 changed files with 0 additions and 3 deletions
|
@ -4,7 +4,6 @@ namespace Pterodactyl\Repositories\Wings;
|
||||||
|
|
||||||
use Webmozart\Assert\Assert;
|
use Webmozart\Assert\Assert;
|
||||||
use Pterodactyl\Models\Server;
|
use Pterodactyl\Models\Server;
|
||||||
use Illuminate\Support\Facades\Log;
|
|
||||||
use GuzzleHttp\Exception\GuzzleException;
|
use GuzzleHttp\Exception\GuzzleException;
|
||||||
use GuzzleHttp\Exception\TransferException;
|
use GuzzleHttp\Exception\TransferException;
|
||||||
use Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException;
|
use Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException;
|
||||||
|
@ -40,8 +39,6 @@ class DaemonServerRepository extends DaemonRepository
|
||||||
{
|
{
|
||||||
Assert::isInstanceOf($this->server, Server::class);
|
Assert::isInstanceOf($this->server, Server::class);
|
||||||
|
|
||||||
Log::info(app()->environment());
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$this->getHttpClient()->post('/api/servers', [
|
$this->getHttpClient()->post('/api/servers', [
|
||||||
'json' => [
|
'json' => [
|
||||||
|
|
Loading…
Reference in a new issue