api(application): v2 backport
This commit is contained in:
parent
4cd0bee231
commit
67bf3e342e
172 changed files with 2922 additions and 1579 deletions
|
@ -49,9 +49,9 @@ class BuildModificationService
|
|||
$merge = Arr::only($data, ['oom_disabled', 'memory', 'swap', 'io', 'cpu', 'threads', 'disk', 'allocation_id']);
|
||||
|
||||
$server->forceFill(array_merge($merge, [
|
||||
'database_limit' => Arr::get($data, 'database_limit', 0) ?? null,
|
||||
'allocation_limit' => Arr::get($data, 'allocation_limit', 0) ?? null,
|
||||
'backup_limit' => Arr::get($data, 'backup_limit', 0) ?? 0,
|
||||
'database_limit' => Arr::get($data, 'database_limit', 0) ?? null,
|
||||
]))->saveOrFail();
|
||||
|
||||
return $server->refresh();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue