Skip to content

Commit c1706da

Browse files
author
HongKee Moon
committed
fix: for getting more than 100 items
1 parent 034f5ca commit c1706da

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/models/owner.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ class owner extends Base {
123123
*/
124124
getProjectsByGroup() {
125125
return this.parallel(this.groups, (group, done) => {
126-
this.get(`groups/${group.id}/projects`)
127-
.then(response => response.json())
126+
this.all(`groups/${group.id}/projects`)
128127
.then(projects => {
129128
this.projects = this.projects.concat(projects);
130129
done();

0 commit comments

Comments
 (0)