mirror of https://gitee.com/bigwinds/arangodb
fixed obvious error in body parsing
This commit is contained in:
parent
cb5af05a76
commit
d793702247
|
@ -289,7 +289,7 @@ function parseBodyForCreateCollection (req, res) {
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
function post_api_collection (req, res) {
|
||||
var r = parseBodyForCreateCollection(req);
|
||||
var r = parseBodyForCreateCollection(req, res);
|
||||
|
||||
if (r.bodyIsEmpty) {
|
||||
return; // error in JSON, is already reported
|
||||
|
|
Loading…
Reference in New Issue