From 34d20b2bf0a69d9936c70956fd90cb6c270296c1 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Thu, 4 Nov 2021 11:37:33 -0600 Subject: [PATCH] api: remove old debug logs --- app/Http/Controllers/Api/Application/Eggs/EggController.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/Http/Controllers/Api/Application/Eggs/EggController.php b/app/Http/Controllers/Api/Application/Eggs/EggController.php index 673df896..4f1b9700 100644 --- a/app/Http/Controllers/Api/Application/Eggs/EggController.php +++ b/app/Http/Controllers/Api/Application/Eggs/EggController.php @@ -7,7 +7,6 @@ use Pterodactyl\Models\Egg; use Pterodactyl\Models\Nest; use Illuminate\Http\Response; use Illuminate\Http\JsonResponse; -use Illuminate\Support\Facades\Log; use Spatie\QueryBuilder\QueryBuilder; use Pterodactyl\Services\Eggs\Sharing\EggExporterService; use Pterodactyl\Transformers\Api\Application\EggTransformer; @@ -71,13 +70,11 @@ class EggController extends ApplicationApiController public function store(StoreEggRequest $request): JsonResponse { $validated = $request->validated(); - Log::info(json_encode($validated, JSON_PRETTY_PRINT)); $merged = array_merge($validated, [ 'uuid' => Uuid::uuid4()->toString(), // TODO: allow this to be set in the request, and default to config value if null or not present. 'author' => config('pterodactyl.service.author'), ]); - Log::info(json_encode($merged, JSON_PRETTY_PRINT)); $egg = Egg::query()->create($merged);