diff --git a/shared/phones.lua b/shared/phones.lua index 3f9b1a1..cf3ee5c 100644 --- a/shared/phones.lua +++ b/shared/phones.lua @@ -171,7 +171,7 @@ function sendPhoneInvoice(data) end }, { - name = "gks-phone", + name = "gksphone", send = function(mailData) -- Defensive check for required fields local required = { "billedCitizenid", "amount", "job", "name", "billerCitizenid", "label" } @@ -197,7 +197,6 @@ function sendPhoneInvoice(data) } } - -- Check each phone system in order and use the first active one. for _, phone in ipairs(phoneSystems) do if isStarted(phone.name) then