Skip to content

Commit c6137db

Browse files
committed
Fix build limit management in Admin CP
1 parent 060c642 commit c6137db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/Http/Controllers/Admin/ServersController.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,15 +498,17 @@ public function manageSuspension(Request $request, Server $server)
498498
* @param \Illuminate\Http\Request $request
499499
* @param \Pterodactyl\Models\Server $server
500500
* @return \Illuminate\Http\RedirectResponse
501+
*
501502
* @throws \Pterodactyl\Exceptions\DisplayException
502503
* @throws \Pterodactyl\Exceptions\Model\DataValidationException
503-
* @internal param int $id
504+
* @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException
504505
*/
505506
public function updateBuild(Request $request, Server $server)
506507
{
507508
$this->buildModificationService->handle($server, $request->only([
508509
'allocation_id', 'add_allocations', 'remove_allocations',
509510
'memory', 'swap', 'io', 'cpu', 'disk',
511+
'database_limit', 'allocation_limit',
510512
]));
511513
$this->alert->success(trans('admin/server.alerts.build_updated'))->flash();
512514

0 commit comments

Comments
 (0)