Skip to content
GitLab
Explore
Sign in
Commits on Source (3)
patch parsing error
· 08791215
Yoann HOUPERT
authored
Feb 27, 2018
08791215
Merge branch 'hotfix/patch_parsing_json' into production
· b582542c
Yoann HOUPERT
authored
Feb 27, 2018
b582542c
Merge tag 'patch_parsing_json' into next
· 01fe4a81
Yoann HOUPERT
authored
Feb 27, 2018
Patch json parsing
01fe4a81
Hide whitespace changes
Inline
Side-by-side
lib/webserver/routes.js
View file @
01fe4a81
...
...
@@ -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
,
...
...