community.getMarketItem(753, "753-Sack of Gems", (error, key) => {
if (error) return console.log(error)
setTimeout(() => {
key.updatePrice((error) => {
if (error) return console.log(error)
console.log(key.lowestPrice)
})
}, 1000 * 15)
})
community.getMarketItem(753, "753-Sack of Gems", (error, key) => {
if (error) return console.log(error)
setTimeout(() => {
key.updatePrice()
console.log(key.lowestPrice)
}, 1000 * 15)
})
both throw "TypeError: callback is not a function" error
node_modules/steamcommunity/classes/CMarketItem.js:113:4