From 0ed97947f9103ee87d98f2d287242282a840805f Mon Sep 17 00:00:00 2001 From: Alyx Date: Mon, 30 Dec 2024 04:57:56 +0000 Subject: [PATCH] Fix getUserInfo (#854) --- 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 edb94ab64..86af3f5d2 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',