bmcweb: Session member count is zero
A botched merge conflict caused issues with the session service, and
accidentally hardcoded the session info response to a size zero
structure. This resolves it.
Tested By:
Ran sessionService and observed sessions present
Change-Id: I1186f0416c099df5f39a9f894ccfcc20691ceb03
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
diff --git a/redfish-core/lib/redfish_sessions.hpp b/redfish-core/lib/redfish_sessions.hpp
index 5b69c1a..addb287 100644
--- a/redfish-core/lib/redfish_sessions.hpp
+++ b/redfish-core/lib/redfish_sessions.hpp
@@ -145,8 +145,6 @@
"/redfish/v1/$metadata#SessionCollection.SessionCollection";
res.jsonValue["Name"] = "Session Collection";
res.jsonValue["Description"] = "Session Collection";
- res.jsonValue["Members@odata.count"] = 0;
- res.jsonValue["Members"] = nlohmann::json::array();
res.end();
}