Skip to content

Commit

Permalink
fix: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
mafewtm authored Dec 12, 2023
1 parent 4b4d8bc commit 5fd09ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ exports('CreateVehicleEntity', createEntity)
local function fetchEntity(query)
local vehicleData = {}
if query.valueType ~= 'citizenid' and query.valueType ~= 'license' and query.valueType ~= 'plate' then return end
local results = MySQL.await('SELECT * FROM player_vehicles WHERE ? = ?', {
local results = MySQL.query.await('SELECT * FROM player_vehicles WHERE ? = ?', {
query.valueType,
query.value
})
Expand Down

0 comments on commit 5fd09ff

Please sign in to comment.