mirror of https://gitee.com/bigwinds/arangodb
make smartGraphAttribute optional
This commit is contained in:
parent
4b604d798f
commit
b55cf1b12a
|
@ -276,7 +276,7 @@ router.post('/', function (req, res) {
|
|||
orphanCollections: joi.array().optional(),
|
||||
isSmart: joi.boolean().optional(),
|
||||
options: joi.object({
|
||||
smartGraphAttribute: joi.string().required(),
|
||||
smartGraphAttribute: joi.string().optional(),
|
||||
numberOfShards: joi.number().integer().greater(0).required()
|
||||
}).optional()
|
||||
}).required(), 'The required information for a graph')
|
||||
|
|
Loading…
Reference in New Issue