mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2025-04-08 18:40:57 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
let steamID64 = parsed.profile.steamID64;
|
let steamID64 = parsed.profile.steamID64[0];
|
||||||
let vanityURL = parsed.profile.customURL;
|
let vanityURL = parsed.profile.customURL[0];
|
||||||
|
|
||||||
callback(null, {"vanityURL": vanityURL, "steamID": steamID64});
|
callback(null, {"vanityURL": vanityURL, "steamID": steamID64});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user