From 0fc1120fd3dfbc5f9a9fe7e79f9b187be5afbe10 Mon Sep 17 00:00:00 2001 From: 3urobeat <35304405+HerrEurobeat@users.noreply.github.com> Date: Mon, 26 Jun 2023 16:02:15 +0200 Subject: [PATCH] Fix resolving vanity #313 --- components/helpers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/helpers.js b/components/helpers.js index f077790..e887fff 100644 --- a/components/helpers.js +++ b/components/helpers.js @@ -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}); });