Commit 01fe4a81 authored by Yoann HOUPERT's avatar Yoann HOUPERT

Merge tag 'patch_parsing_json' into next

Patch json parsing
parents b2225d85 b582542c
Pipeline #11514 passed with stage
in 39 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