Skip to content

Commit c7250aa

Browse files
committed
Merge pull request #426 from mchun/master
fix multiple include
2 parents f8ae863 + 32bb1bd commit c7250aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/RestQuery.js

+4
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)