-
Posts
2 -
Joined
-
Last visited
Posts posted by veritas
-
-
Hello, Im trying to get my active offers, and for that, my code is:
trade_manager.getOffers(e_offer_filter.ActiveOnly, null, function (error, sent, received) { etc... }
Im getting the TradeOffer class from the received argument, and I indeed get a valid response.
TradeOffer { partner: SteamID { universe: 1, type: 1, instance: 1, accountid: 000} etc...., }
The problem is: When I try to use the received[0].getUserDetails, the program crashes and outputs the following error:
TypeError: received.getUserDetails is not a function
Can someone help me? Im pretty sure Im getting the correct TradeOffer structure, I just can't use its functions.
offer.getUserDetails is not a function
in node-steam-tradeoffer-manager
Posted
I fixed the problem, turns out I had an old version of the steam trade offer manager module.