Properly pass along build information to Wings; closes #2552
This commit is contained in:
parent
964a1436ce
commit
ebd81e9d1d
1 changed files with 5 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue