Code cleanup
This commit is contained in:
parent
a2201aaa38
commit
f0e18ba6f7
4 changed files with 19 additions and 87 deletions
|
@ -270,7 +270,9 @@ class ServerCreationService
|
|||
$records = array_merge($records, $data['allocation_additional']);
|
||||
}
|
||||
|
||||
$this->allocationRepository->assignAllocationsToServer($server->id, $records);
|
||||
$this->allocationRepository->updateWhereIn('id', $records, [
|
||||
'server_id' => $server->id,
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue