[HELP] How change steamhex by identifier in a function

I dont know why in this function I got steamhex, when all of my scripts and database works with identifier. Someone could help me and tellme how can I change it please? I’ll really apreciate it

function getUser(identifier, cb)
MySQL.Async.fetchAll("SELECT id, username as author, avatar_url as authorIcon FROM twitter_accounts WHERE identifier = @identifier", {
['@identifier'] = identifier
}, function(data)
cb(data[1])
end)
end

cb(data[1])

1 = steam
2 = license

when I wrote cb(data[2]) and print it, returns me “nil” :confused:

I found the error, I needed other function, this wat not the fault. Thanks again for the help @doN_pSYCHO I really apreciate that info :slight_smile: