Skip to content

Commit

Permalink
UpdateBolo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeSzymkowicz committed May 21, 2022
1 parent 5dd305a commit 8823312
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 @@ -464,7 +464,7 @@ RegisterNetEvent('mdt:server:newBolo', function(existing, id, title, plate, owne
end

local function UpdateBolo()
MySQL.async.execute("UPDATE mdt_bolos SET `title`=:title, plate=:plate, owner=:owner, individual=:individual, detail=:detail, tags=:tags, gallery=:gallery, officersinvolved=:officersinvolved WHERE `id`=:id AND jobtype = :jobtype LIMIT 1", {
MySQL.update("UPDATE mdt_bolos SET `title`=:title, plate=:plate, owner=:owner, individual=:individual, detail=:detail, tags=:tags, gallery=:gallery, officersinvolved=:officersinvolved WHERE `id`=:id AND jobtype = :jobtype LIMIT 1", {
title = title,
plate = plate,
owner = owner,
Expand Down

0 comments on commit 8823312

Please sign in to comment.