Skip to content

Commit 6151a2e

Browse files
committed
Fix gtt-report missing data from projects when group has more than 100 projects.
1 parent ec5ca47 commit 6151a2e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/models/owner.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,14 @@ class owner extends Base {
121121
*/
122122
getProjectsByGroup() {
123123
return this.parallel(this.groups, (group, done) => {
124-
this.get(`groups/${group.id}/projects`)
124+
this.all(`groups/${group.id}/projects`)
125125
.then(projects => {
126-
this.projects = this.projects.concat(projects.body);
126+
this.projects = projects;
127127
done();
128128
})
129129
.catch(e => done(e));
130130
});
131131
}
132132
}
133133

134-
module.exports = owner;
134+
module.exports = owner;

0 commit comments

Comments
 (0)