From ca5de919e6de4bc43b42a485451d9b633b13ec82 Mon Sep 17 00:00:00 2001 From: Alyx Date: Sat, 28 Dec 2024 21:31:18 +0000 Subject: [PATCH] Fix getUserInfo --- lib/users/getUserInfo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/users/getUserInfo.js b/lib/users/getUserInfo.js index edb94ab6..86af3f5d 100644 --- a/lib/users/getUserInfo.js +++ b/lib/users/getUserInfo.js @@ -14,9 +14,9 @@ exports.required = ['userId'] **/ // Define -exports.func = function (userId) { +exports.func = function (args) { const httpOpt = { - url: `//users.roblox.com/v1/users/${userId}`, + url: `//users.roblox.com/v1/users/${args.userId}`, options: { json: true, method: 'GET',