...
 
Commits (4)
......@@ -58,10 +58,11 @@ const routesFactory = config => {
}
const jsonStr = json.transcript.transcription;
const transcription = JSON.parse(json.transcript.transcription);
let jsonResponse = {};
try {
const transcription = JSON.parse(json.transcript.transcription);
jsonResponse = {
status: 0,
hypotheses: transcription.hypotheses,
......