Update 010_get_domain.lua.noload

This commit is contained in:
FusionPBX
2019-08-11 17:10:00 -06:00
committed by GitHub
parent 32f24e7c67
commit 8fa25d86d8

View File

@@ -52,7 +52,7 @@
sql = sql .. "AND n.destination_type = 'inbound' "
sql = sql .. "AND n.domain_uuid = d.domain_uuid "
--freeswitch.consoleLog("notice", "SQL:" .. sql .. "\n");
assert(dbh:query(sql, function(row)
dbh:query(sql, function(row)
--set the local variables
domain_uuid = row.domain_uuid;
domain_name = row.domain_name;
@@ -75,7 +75,7 @@
--set the source
source = "database";
end));
end);
else
--add the function