Fix compilation issue
Fixes minor build problem introduced by change
e56ed6b98104954444ba2ccb0681b1a174e24b00 (redfish: Add Chassis associated Drive query).
Tested:
Compiled the code locally, with success.
Change-Id: I35783557bc870e8048a76c4de30a4750af7f9eef
Signed-off-by: Michal Orzel <michalx.orzel@intel.com>
diff --git a/redfish-core/lib/storage.hpp b/redfish-core/lib/storage.hpp
index e17130c..e17659d 100644
--- a/redfish-core/lib/storage.hpp
+++ b/redfish-core/lib/storage.hpp
@@ -786,7 +786,7 @@
const std::string& chassisId,
const std::string& driveName)
{
- if (!redfish::setUpRedfishRoute(app, req, asyncResp->res))
+ if (!redfish::setUpRedfishRoute(app, req, asyncResp))
{
return;
}