Skip to content

Commit

Permalink
Replace the use of export with the function
Browse files Browse the repository at this point in the history
  • Loading branch information
Cocodrulo authored Jan 9, 2025
1 parent 1814ca9 commit f08ac49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/events.lua
Original file line number Diff line number Diff line change
Expand Up @@ -285,5 +285,5 @@ end)
--end)

QBCore.Functions.CreateCallback('QBCore:Server:GetDutyCount', function(_, cb, jobName)
cb(exports['qb-core']:GetDuty(jobName))
cb(QBCore.Functions.GetDutyCount(jobName))
end)

0 comments on commit f08ac49

Please sign in to comment.