From 7d1249f31f39a86b8505e0aa101bf4c897bd2d4c Mon Sep 17 00:00:00 2001 From: dowoge Date: Mon, 7 Aug 2023 12:13:24 -0400 Subject: [PATCH] show only 50 newest usernames --- src/modules/strafes_net.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/strafes_net.lua b/src/modules/strafes_net.lua index 638a962..16470ef 100644 --- a/src/modules/strafes_net.lua +++ b/src/modules/strafes_net.lua @@ -288,7 +288,7 @@ end function API:GetUserUsernameHistory(USER_ID) if not USER_ID then return 'empty id' end - local err, res = parseToURLArgs({limit=100}) + local err, res = parseToURLArgs({limit=50,sortOrder='Desc'}) if err then return err end local response1 = http_request('GET', ROBLOX_API_URL..'users/'..USER_ID..'/username-history'..res,API_HEADER) return response1