mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-17 05:56:02 +01:00
fix typo for gks sendPhoneInvoice function
when creating a `phone invoice` the function was checking if `gks-phone` was started, but I believe the script folder name is default `gksphone`
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user