mirror of https://gitee.com/bigwinds/arangodb
bugfix wrong variable name
This commit is contained in:
parent
f8bc6c449d
commit
7a6ae34b18
|
@ -222,7 +222,7 @@ function postVertex(req, res) {
|
||||||
id = json["$id"];
|
id = json["$id"];
|
||||||
}
|
}
|
||||||
|
|
||||||
var v = g.addVertex(id, body);
|
var v = g.addVertex(id, json);
|
||||||
|
|
||||||
if (v == undefined || v._properties == undefined) {
|
if (v == undefined || v._properties == undefined) {
|
||||||
throw "could not create vertex";
|
throw "could not create vertex";
|
||||||
|
|
Loading…
Reference in New Issue