mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2024-12-27 15:10:14 +08:00
Fix resolving vanity #313
This commit is contained in:
parent
a0aee350cc
commit
0fc1120fd3
@ -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