changed back the getInventory route