Code cleanup

This commit is contained in:
Dane Everitt 2020-07-06 20:05:42 -07:00
parent a2201aaa38
commit f0e18ba6f7
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 19 additions and 87 deletions

View file

@ -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,
]);
}
/**