Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Jun 23, 2024
1 parent 44c4520 commit def94aa
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -417,10 +417,7 @@ end)
ESX.RegisterServerCallback("bpt_policejob:storeNearbyVehicle", function(source, cb, plates)
local xPlayer = ESX.GetPlayerFromId(source)

local plate = MySQL.scalar.await(
"SELECT plate FROM owned_vehicles WHERE owner = ? AND plate IN (?) AND job = ?",
{ xPlayer.identifier, plates, xPlayer.job.name }
)
local plate = MySQL.scalar.await('SELECT plate FROM owned_vehicles WHERE owner = ? AND plate IN (?) AND job = ?', {xPlayer.identifier, plates, xPlayer.job.name})

if plate then
MySQL.update(
Expand Down

0 comments on commit def94aa

Please sign in to comment.