#qb.lua Bridge Error

1 messages · Page 1 of 1 (latest)

bitter lake
#

Logged in to my admin character to give my second character creator status in the app. Was met with this error:

[ script:cw-racingapp] > rawQuery (@oxmysql/dist/build.js:26045)
[ script:cw-racingapp] > processTicksAndRejections (node:internal/process/task_queues:96)```


Code in question:
``` -- Fetches the Source of an online player by citizenid
function getSrcOfPlayerByCitizenId(citizenId)
    return QBCore.Functions.GetPlayerByCitizenId(citizenId).PlayerData.source
end ```

It doesn't seem to crash the script, and the user's auth was successfully swapped. Just putting this out there. No changes were made to any bridge files.
orchid arch
#

Werid af that the auth swap worked if that threw an error huhh

bitter lake
#

I'm gonna go with it's something that I caused. I'll try a clean install sometime soon and see what's going on.