Skip to content

Commit 8cc240a

Browse files
committed
fix: for getting more than 100 items in /groups
1 parent 034f5ca commit 8cc240a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gitlab-time-tracker",
3-
"version": "1.7.39",
3+
"version": "1.7.40",
44
"description": "A command line interface for GitLabs time tracking feature.",
55
"bugs": {
66
"url": "https://github.com/kriskbx/gitlab-time-tracker/issues"

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)