Fix the indentation and white space.

This commit is contained in:
FusionPBX 2020-05-21 18:24:13 -06:00 committed by GitHub
parent 056ee9f10b
commit 8100f968c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 144 additions and 147 deletions

View File

@ -234,7 +234,6 @@
return ''
else
status, transcribe_json = pcall(JSON.decode, transcribe_result);
if not status then
if (debug["info"]) then
freeswitch.consoleLog("notice", "[voicemail] error decoding watson json\n");
@ -243,7 +242,6 @@
end
end
if (transcribe_json["results"] ~= nil) then
--Transcription
if (transcribe_json["results"][1]["alternatives"][1]["transcript"] ~= nil) then
@ -271,7 +269,6 @@
freeswitch.consoleLog("notice", "[voicemail] CONFIDENCE: (null) \n");
end
end
return transcription;
else
if (debug["info"]) then