diff options
Diffstat (limited to 'redfish-core')
-rw-r--r-- | redfish-core/lib/message_registries.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redfish-core/lib/message_registries.hpp b/redfish-core/lib/message_registries.hpp index ead4e38a67..92721eb762 100644 --- a/redfish-core/lib/message_registries.hpp +++ b/redfish-core/lib/message_registries.hpp @@ -122,12 +122,12 @@ inline void handleMessageRoutesMessageRegistryFileGet( asyncResp->res.jsonValue["Id"] = header->registryPrefix; asyncResp->res.jsonValue["Registry"] = header->id; nlohmann::json::array_t languages; - languages.emplace_back("en"); + languages.emplace_back(header->language); asyncResp->res.jsonValue["Languages@odata.count"] = languages.size(); asyncResp->res.jsonValue["Languages"] = std::move(languages); nlohmann::json::array_t locationMembers; nlohmann::json::object_t location; - location["Language"] = "en"; + location["Language"] = header->language; location["Uri"] = "/redfish/v1/Registries/" + registry + "/" + registry; if (url != nullptr) |