Commit db010ea3 authored by Yoann HOUPERT's avatar Yoann HOUPERT

Merge branch 'next' into 'master'

Next

See merge request !6
parents b2225d85 01fe4a81
Pipeline #11516 passed with stage
in 33 seconds
...@@ -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,
......
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