Fix resolving vanity #313

This commit is contained in:
3urobeat 2023-06-26 16:02:15 +02:00
parent a0aee350cc
commit 0fc1120fd3
No known key found for this signature in database
GPG Key ID: 6842D80775A4E952

View File

@ -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});
});