Jump to content
McKay Development

Larry

Member
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Larry

  1. 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?

×
×
  • Create New...