chore(oxmysql): Replace fetch

This commit is contained in:
Kakarot
2021-10-24 11:18:52 -06:00
parent ffef5aeb51
commit 570129bfd3
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ end)
-- Get permissions on server start
CreateThread(function()
local result = exports.oxmysql:fetchSync('SELECT * FROM permissions', {})
local result = exports.oxmysql:executeSync('SELECT * FROM permissions', {})
if result[1] then
for k, v in pairs(result) do
QBCore.Config.Server.PermissionList[v.license] = {