remove un-needed code

This commit is contained in:
Matthew Penner 2021-09-16 15:07:14 -06:00
parent df895f4a9f
commit 98da1f13a1
No known key found for this signature in database
GPG key ID: 030E4AB751DC756F
2 changed files with 0 additions and 5 deletions

View file

@ -99,10 +99,6 @@ function ServerVariableContainer ({ variable, defaultValue }: { variable: EggVar
useEffect(() => { useEffect(() => {
setFieldValue(key, defaultValue); setFieldValue(key, defaultValue);
// return () => {
// setFieldValue(key, undefined);
// };
}, [ variable, defaultValue ]); }, [ variable, defaultValue ]);
return ( return (

View file

@ -165,7 +165,6 @@ Route::group(['prefix' => '/servers'], function () {
Route::get('/external/{external_id}', [\Pterodactyl\Http\Controllers\Api\Application\Servers\ExternalServerController::class, 'index']); Route::get('/external/{external_id}', [\Pterodactyl\Http\Controllers\Api\Application\Servers\ExternalServerController::class, 'index']);
Route::patch('/{server}', [\Pterodactyl\Http\Controllers\Api\Application\Servers\ServerController::class, 'update']); Route::patch('/{server}', [\Pterodactyl\Http\Controllers\Api\Application\Servers\ServerController::class, 'update']);
// Route::patch('/{server}/build', [\Pterodactyl\Http\Controllers\Api\Application\Servers\ServerDetailsController::class, 'build']);
Route::patch('/{server}/startup', [\Pterodactyl\Http\Controllers\Api\Application\Servers\StartupController::class, 'index']); Route::patch('/{server}/startup', [\Pterodactyl\Http\Controllers\Api\Application\Servers\StartupController::class, 'index']);
Route::post('/', [\Pterodactyl\Http\Controllers\Api\Application\Servers\ServerController::class, 'store']); Route::post('/', [\Pterodactyl\Http\Controllers\Api\Application\Servers\ServerController::class, 'store']);