mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2024-12-27 15:10:14 +08:00
Merge pull request #314 from HerrEurobeat/fix-sharedfile-owner
Fix resolving vanity returning error
This commit is contained in:
commit
edf2891800
@ -99,8 +99,8 @@ exports.resolveVanityURL = function(url, callback) {
|
||||
return;
|
||||
}
|
||||
|
||||
let steamID64 = parsed.profile.steamID64;
|
||||
let vanityURL = parsed.profile.customURL;
|
||||
let steamID64 = parsed.profile.steamID64[0];
|
||||
let vanityURL = parsed.profile.customURL[0];
|
||||
|
||||
callback(null, {"vanityURL": vanityURL, "steamID": steamID64});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user