mirror of https://gitee.com/bigwinds/arangodb
Fixed hilarious bug (sorry).
This commit is contained in:
parent
2148e695f4
commit
a41ccfa835
|
@ -66,7 +66,7 @@ function toJSONSchema(id, schema) {
|
||||||
return jsonSchema;
|
return jsonSchema;
|
||||||
}
|
}
|
||||||
|
|
||||||
_.each(schema.children, function (attributeDescription, attributeName) {
|
_.each(description.children, function (attributeDescription, attributeName) {
|
||||||
var attributeSchema = {type: attributeDescription.type},
|
var attributeSchema = {type: attributeDescription.type},
|
||||||
rules = attributeDescription.rules,
|
rules = attributeDescription.rules,
|
||||||
flags = attributeDescription.flags;
|
flags = attributeDescription.flags;
|
||||||
|
|
Loading…
Reference in New Issue