From 373d80260fd13ff6e3277fb062eef426feadb1c7 Mon Sep 17 00:00:00 2001 From: "ashutosh.nehete" Date: Tue, 24 Jun 2025 10:10:03 +0530 Subject: [PATCH] Removed demo objects for which is used for testing purpose --- Marco.Pms.Services/Controllers/LogController.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Marco.Pms.Services/Controllers/LogController.cs b/Marco.Pms.Services/Controllers/LogController.cs index 6047642..15a956b 100644 --- a/Marco.Pms.Services/Controllers/LogController.cs +++ b/Marco.Pms.Services/Controllers/LogController.cs @@ -26,12 +26,6 @@ namespace Marco.Pms.Services.Controllers /// An indicating the success of the operation. public IActionResult MobileLogging([FromBody] List logs) { - var demoDetails = new - { - name = "Pooja", - job = "Tester", - org = "MarcoAiot" - }; // Check if logs are provided to avoid processing empty requests if (logs == null || !logs.Any()) { @@ -46,7 +40,6 @@ namespace Marco.Pms.Services.Controllers // Attempt to deserialize the 'Details' string into a dynamic object // This allows structured logging of the details payload. - log.Details = JsonSerializer.Serialize(demoDetails); if (!string.IsNullOrWhiteSpace(log.Details)) { try