Merge pull request #314 from HerrEurobeat/fix-sharedfile-owner

Fix resolving vanity returning error
This commit is contained in:
DoctorMcKay 2023-06-27 00:16:17 -04:00 committed by GitHub
commit edf2891800
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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