Commit b582542c authored by Yoann HOUPERT's avatar Yoann HOUPERT

Merge branch 'hotfix/patch_parsing_json' into production

parents b2225d85 08791215
Pipeline #11515 passed with stage
in 43 seconds
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment