diff options
Diffstat (limited to 'redfish-core/lib/message_registries.hpp')
-rw-r--r-- | redfish-core/lib/message_registries.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/redfish-core/lib/message_registries.hpp b/redfish-core/lib/message_registries.hpp index bd9b0903a8..189cd2e75c 100644 --- a/redfish-core/lib/message_registries.hpp +++ b/redfish-core/lib/message_registries.hpp @@ -32,7 +32,7 @@ inline void handleMessageRegistryFileCollectionGet( crow::App& app, const crow::Request& req, const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) { - if (!redfish::setUpRedfishRoute(app, req, asyncResp->res)) + if (!redfish::setUpRedfishRoute(app, req, asyncResp)) { return; } @@ -69,7 +69,7 @@ inline void handleMessageRoutesMessageRegistryFileGet( const std::shared_ptr<bmcweb::AsyncResp>& asyncResp, const std::string& registry) { - if (!redfish::setUpRedfishRoute(app, req, asyncResp->res)) + if (!redfish::setUpRedfishRoute(app, req, asyncResp)) { return; } @@ -142,7 +142,7 @@ inline void handleMessageRegistryGet( const std::string& registry, const std::string& registryMatch) { - if (!redfish::setUpRedfishRoute(app, req, asyncResp->res)) + if (!redfish::setUpRedfishRoute(app, req, asyncResp)) { return; } |