Handling missing body properties

This commit is contained in:
abhijitkane
2019-07-22 17:45:18 +05:30
parent d344eed31c
commit 65f540bd27
4 changed files with 28 additions and 9 deletions

View File

@@ -15,7 +15,7 @@ function Node (options) {
// stores all direct folder descendants of this node
this.children = {};
this.requests = options ? options.requests : []; // request will be an array of objects
this.requests = []; // request will always be an array of objects
this.addChildren = function (child, value) {
this.children[child] = value;