From c4a0d75427cddc0ef53d4eea4a5bcfb48d8c4693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Zieli=C5=84ski?= Date: Tue, 22 Oct 2024 08:28:04 +0200 Subject: [PATCH] Import fix --- WebAPI/Controllers/LayersController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebAPI/Controllers/LayersController.cs b/WebAPI/Controllers/LayersController.cs index 6bfe30c..e2bbd16 100644 --- a/WebAPI/Controllers/LayersController.cs +++ b/WebAPI/Controllers/LayersController.cs @@ -279,7 +279,6 @@ public class LayersController : Controller .Where(x => x.Records!.Any(y => y.Code == "Type" && y.Desc1 == "ImportWorker") && x.Records!.Any(y => y.Code == "IsEnabled" && y.Desc1 == "True") - && x.Number == 2989 ) .OrderBy(x => x.CreatedAt) .ToList(); @@ -303,6 +302,7 @@ public class LayersController : Controller { var type = importWorker.Records!.FirstOrDefault(x => x.Code == "ImportType")?.Desc1 ?? "Standard"; + var name = importWorker.Name; switch (type) { case "D1":