diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 00000000..94276377 Binary files /dev/null and b/.DS_Store differ diff --git a/src/RestQuery.js b/src/RestQuery.js index 7cf8074f..c61b9d69 100644 --- a/src/RestQuery.js +++ b/src/RestQuery.js @@ -377,7 +377,11 @@ RestQuery.prototype.handleInclude = function() { this.include = this.include.slice(1); return this.handleInclude(); }); + }else if(this.include.length >0){ + this.include = this.include.slice(1); + return this.handleInclude(); } + return pathResponse; };