show only 50 newest usernames
This commit is contained in:
parent
88f81208cc
commit
7d1249f31f
@ -288,7 +288,7 @@ end
|
|||||||
|
|
||||||
function API:GetUserUsernameHistory(USER_ID)
|
function API:GetUserUsernameHistory(USER_ID)
|
||||||
if not USER_ID then return 'empty id' end
|
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
|
if err then return err end
|
||||||
local response1 = http_request('GET', ROBLOX_API_URL..'users/'..USER_ID..'/username-history'..res,API_HEADER)
|
local response1 = http_request('GET', ROBLOX_API_URL..'users/'..USER_ID..'/username-history'..res,API_HEADER)
|
||||||
return response1
|
return response1
|
||||||
|
Loading…
Reference in New Issue
Block a user