Skip to content

Commit

Permalink
Fix missing data
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangducvn committed Apr 12, 2022
1 parent 5653f8d commit 383e970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ QBCore.Functions.CreateCallback('MojiaGarages:server:getVehicleData', function(s
{
plate
}, function(result)
if result[1] then
cb(result[1])
if result then
cb(result)
else
cb(false)
end
Expand Down

0 comments on commit 383e970

Please sign in to comment.