summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--redfish-core/include/utils/collection.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/include/utils/collection.hpp b/redfish-core/include/utils/collection.hpp
index 79e4fc0ee1..2e5563b4c9 100644
--- a/redfish-core/include/utils/collection.hpp
+++ b/redfish-core/include/utils/collection.hpp
@@ -30,7 +30,7 @@ inline void handleCollectionMembers(
nlohmann::json::json_pointer jsonCountKeyName = jsonKeyName;
std::string back = jsonCountKeyName.back();
jsonCountKeyName.pop_back();
- jsonCountKeyName /= back + "@data.count";
+ jsonCountKeyName /= back + "@odata.count";
if (ec == boost::system::errc::io_error)
{