remove un-needed code
This commit is contained in:
parent
df895f4a9f
commit
98da1f13a1
2 changed files with 0 additions and 5 deletions
|
@ -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 (
|
||||||
|
|
|
@ -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']);
|
||||||
|
|
Loading…
Reference in a new issue