diff --git a/js/apps/system/_api/gharial/APP/gharial.js b/js/apps/system/_api/gharial/APP/gharial.js index a9d77b6dbe..52d5ac521e 100644 --- a/js/apps/system/_api/gharial/APP/gharial.js +++ b/js/apps/system/_api/gharial/APP/gharial.js @@ -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')