1
0
Fork 0

make smartGraphAttribute optional

This commit is contained in:
jsteemann 2017-02-14 09:15:12 +01:00
parent 4b604d798f
commit b55cf1b12a
1 changed files with 1 additions and 1 deletions

View File

@ -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')