From 3d2b6b63b446fa1ec3ddcc071e176cf266a3897e Mon Sep 17 00:00:00 2001 From: gururaajar <83449026+gururaajar@users.noreply.github.com> Date: Wed, 5 Jun 2024 16:32:02 -0400 Subject: [PATCH] DELIA-65343 - Fixing the trace method of network manager (#5383) Reason for change: Added the trace ouput details in the Json response object Test Procedure: Run Trace method curl and check Risks: Low Priority: P1 Signed-off-by: Gururaaja ESR --- NetworkManager/NetworkManagerJsonRpc.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NetworkManager/NetworkManagerJsonRpc.cpp b/NetworkManager/NetworkManagerJsonRpc.cpp index 0271ccf789..9b7ebad3b9 100644 --- a/NetworkManager/NetworkManagerJsonRpc.cpp +++ b/NetworkManager/NetworkManagerJsonRpc.cpp @@ -671,7 +671,10 @@ namespace WPEFramework if (Core::ERROR_NONE == rc) { - response["success"] = true; + JsonObject reply; + reply.FromString(result); + reply["success"] = true; + response = reply; } LOGTRACEMETHODFIN(); return rc;