Merge branch 'fix/nestedtable' into fix/apis-1

This commit is contained in:
Llewellyn Dsouza
2022-02-27 01:52:21 +05:30
2 changed files with 22 additions and 3 deletions

View File

@@ -31,6 +31,7 @@ module.exports = {
* Create a sublevel
*/
createSubLevel: async (req, res, next) => {
console.log(req.body);
const { name, type, specs, parent_id, parentIsLevel, positions } = req.body;
if (!(name && type && parent_id && positions)) {