Jump to content
McKay Development

EmDoesCs

Member
  • Posts

    2
  • Joined

  • Last visited

EmDoesCs's Achievements

  1. Hmm. I tried doing the string directly in the function, I also tried importing my own image locally. All of which resorted in that error.
  2. Hello when attempting to upload an avatar using uploadAvatar() I'm getting an error of image.match is not a function Here is my code var av = "https://cdn.pixabay.com/photo/2015/04/23/22/00/tree-736885__480.jpg" function uploadAvatar() { community.uploadAvatar(av, function (err) { if (err) { console.log(err) } else { console.log(url) } } ) } Here is the full error C:\Users\X\Documents\dev\X\node_modules\steamcommunity\components\profile.js:273 } else if(image.match(/^https?:\/\//)) { ^ TypeError: image.match is not a function at SteamCommunity.uploadAvatar (C:\Users\X\Documents\dev\X\node_modules\steamcommunity\components\profile.js:273:18) Thank you for any help
×
×
  • Create New...