Skip to content

Commit

Permalink
DELIA-65343 - Fixing the trace method of network manager
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Gururaaja E S R authored and Gururaaja E S R committed Jun 5, 2024
1 parent e1af3cd commit 3828a0b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion NetworkManager/NetworkManagerJsonRpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3828a0b

Please sign in to comment.