Skip to content

Commit

Permalink
Update csrp_server.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
harleykradovill authored Apr 16, 2024
1 parent aa370f6 commit a0e6b0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions csrp_server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ AddEventHandler('updateVehicleStatus', function(isInVehicleClass18)
["oov?"] = not isInVehicleClass18
})

PerformHttpRequest(cadURL, function(err, text, headers)
PerformHttpRequest(oovURL, function(err, text, headers)
end, 'POST', payload, { ["Content-Type"] = 'application/json' })
end
end)
Expand All @@ -47,7 +47,7 @@ AddEventHandler('sendVehicleRegistration', function(plate, make, model, color)
color = color
}

PerformHttpRequest(cadURL, function(err, text, headers)
PerformHttpRequest(vehregURL, function(err, text, headers)
if err == 200 then
TriggerClientEvent('showVehicleRegistrationNotification', playerSource, text)
else
Expand Down

0 comments on commit a0e6b0d

Please sign in to comment.