Update the comments on provision/index.lua

This commit is contained in:
Mark Crane 2015-05-06 04:39:26 +00:00
parent b946f39e97
commit a04f13c89e
1 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@
end); end);
--get the device uuid of the mobile provision --get the alternate device uuid using the device username and password
authorized = 'false'; authorized = 'false';
if (user_id ~= '' and password ~= '') then if (user_id ~= '' and password ~= '') then
sql = [[SELECT * FROM v_devices ]]; sql = [[SELECT * FROM v_devices ]];
@ -131,7 +131,7 @@
freeswitch.consoleLog("NOTICE", "[provision] sql: ".. sql .. "\n"); freeswitch.consoleLog("NOTICE", "[provision] sql: ".. sql .. "\n");
end end
dbh:query(sql, function(row) dbh:query(sql, function(row)
--get the altnerat device_uuid --get the alternate device_uuid
device_uuid_alternate = row.device_uuid; device_uuid_alternate = row.device_uuid;
freeswitch.consoleLog("NOTICE", "[provision] alternate device_uuid: ".. device_uuid_alternate .. "\n"); freeswitch.consoleLog("NOTICE", "[provision] alternate device_uuid: ".. device_uuid_alternate .. "\n");
--authorize the user --authorize the user