Document_Manager #129

Merged
ashutosh.nehete merged 83 commits from Document_Manager into main 2025-09-11 04:12:01 +00:00
Showing only changes of commit 373d80260f - Show all commits

View File

@ -26,12 +26,6 @@ namespace Marco.Pms.Services.Controllers
/// <returns>An <see cref="IActionResult"/> indicating the success of the operation.</returns>
public IActionResult MobileLogging([FromBody] List<LogStructure> 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