Skip to content

Commit

Permalink
Merge pull request #2386 from opencb/TASK-5511
Browse files Browse the repository at this point in the history
TASK-5511 - opencga.sh CLI option --json-data-model produces malformed JSON
  • Loading branch information
juanfeSanahuja authored Jan 30, 2024
2 parents d51611a + 780b54a commit 88c589a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ private String printBody(List<RestParameter> data, String tabs) {
if (parameter.getData() == null) {
res += printParameter(parameter, tab);
} else {
res += tab + parameter.getName() + "\"" + ": [" + printBody(parameter.getData(), tab) + "],\n";
res += tab + "\"" +parameter.getName() + "\"" + ": [" + printBody(parameter.getData(), tab) + "],\n";
}
}
res += tabs + "}";
Expand Down

0 comments on commit 88c589a

Please sign in to comment.