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