Skip to content

Commit a7093d3

Browse files
Alex KwanAlex Kwan
authored andcommitted
fix multiple include
1 parent cf7202f commit a7093d3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

src/RestQuery.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,11 @@ RestQuery.prototype.handleInclude = function() {
377377
this.include = this.include.slice(1);
378378
return this.handleInclude();
379379
});
380+
}else if(this.include.length >0){
381+
this.include = this.include.slice(1);
382+
return this.handleInclude();
380383
}
384+
381385
return pathResponse;
382386
};
383387

0 commit comments

Comments
 (0)