From 7802dabcf8a118d70d7c542ad41289096d6a2214 Mon Sep 17 00:00:00 2001 From: "luca.weidmann@gmx.de" Date: Mon, 2 Dec 2024 13:54:30 +0100 Subject: [PATCH] [~] Bugfix not added appservers on appzone creation #2597 --- roles/lib/files/FWO.Services/ModellingAppZoneHandler.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/lib/files/FWO.Services/ModellingAppZoneHandler.cs b/roles/lib/files/FWO.Services/ModellingAppZoneHandler.cs index f41758b47..b9465eed4 100644 --- a/roles/lib/files/FWO.Services/ModellingAppZoneHandler.cs +++ b/roles/lib/files/FWO.Services/ModellingAppZoneHandler.cs @@ -75,8 +75,10 @@ public async Task CreateAppZone(int appId) appZone.AppServers.AddRange(allAppServers); - int newAppZoneId = await AddAppZoneToDb(appZone); + int newAppZoneId = await AddAppZoneToDb(appZone); appZone.Id = newAppZoneId; + + await AddAppServersToAppZone(appZone.Id, appZone.AppServers); } else {