Make inventory get inventory paths

A recent regression causes failures on Thermal and Power paths that have
to grab inventory items.  This commit changes to search for the right
path.

Tested: Gunnar tested on a Witherspoon. No longer see Internal Errors.

Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I0f7468ecf948f3cbfecb20c9ad470dced370ad3a
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/redfish-core/lib/sensors.hpp b/redfish-core/lib/sensors.hpp
index b87c060..3cd4379 100644
--- a/redfish-core/lib/sensors.hpp
+++ b/redfish-core/lib/sensors.hpp
@@ -1486,7 +1486,7 @@
         // Get all object paths and their interfaces for current connection
         crow::connections::systemBus->async_method_call(
             std::move(respHandler), invConnection,
-            "/xyz/openbmc_project/sensors",
+            "/xyz/openbmc_project/inventory",
             "org.freedesktop.DBus.ObjectManager", "GetManagedObjects");
     }