Properly pass along build information to Wings; closes #2552

This commit is contained in:
Dane Everitt 2020-11-02 19:58:03 -08:00
parent 964a1436ce
commit ebd81e9d1d
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -82,7 +82,11 @@ class BuildModificationService
$updateData = $this->structureService->handle($server);
$this->daemonServerRepository->setServer($server)->update($updateData['build'] ?? []);
if (!empty($updateData['build'])) {
$this->daemonServerRepository->setServer($server)->update([
'build' => $updateData['build'],
]);
}
$this->connection->commit();