Update 010_get_domain.lua.noload

This commit is contained in:
FusionPBX 2019-08-11 17:10:00 -06:00 committed by GitHub
parent 794d1cf375
commit 0e65b4723f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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