Redfish: Send the success message in PATCH request
Currently during successfully PATCH operation, implementation
doesn't send the success message.
This commit fixes this problem.
Change-Id: Iade15ed2b3efa73578f4b2710e0005b84419cc21
Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.com>
diff --git a/redfish-core/lib/account_service.hpp b/redfish-core/lib/account_service.hpp
index f698901..045f40c 100644
--- a/redfish-core/lib/account_service.hpp
+++ b/redfish-core/lib/account_service.hpp
@@ -182,6 +182,7 @@
messages::internalError(asyncResp->res);
return;
}
+ messages::success(asyncResp->res);
},
"xyz.openbmc_project.User.Manager", "/xyz/openbmc_project/user",
"org.freedesktop.DBus.Properties", "Set",
@@ -197,6 +198,7 @@
messages::internalError(asyncResp->res);
return;
}
+ messages::success(asyncResp->res);
},
"xyz.openbmc_project.User.Manager", "/xyz/openbmc_project/user",
"org.freedesktop.DBus.Properties", "Set",