Fix the indentation and white space.
This commit is contained in:
parent
056ee9f10b
commit
8100f968c3
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue