Report CSteamUser's "getUserInventoryContents" gives "err" as undefined. in node-steamcommunity Posted January 21, 2018 Apologies if this is an obvious problem.I have a function that is called that gets a user's inventory, and then pipes that array to another function.It looks like this: function getInv(steamID) { community.getUserInventoryContents(steamID, 730, 2, true, 'english', offercase(err, inventory, currencies, totalitems));} And is called like this: getInv(data.steamID) With data.steamID being formatted as { universe: 1, type: 1, instance: 1, accountid: 123456789 } When it's run, it states that "err" is undefined. What's the issue here?
CSteamUser's "getUserInventoryContents" gives "err" as undefined.
in node-steamcommunity
Posted
Apologies if this is an obvious problem.
I have a function that is called that gets a user's inventory, and then pipes that array to another function.
It looks like this:
And is called like this:
With data.steamID being formatted as
When it's run, it states that "err" is undefined. What's the issue here?