Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
Prev Previous commit
Next Next commit
fix: for getting more than 100 items in /groups
  • Loading branch information
hkmoon committed Jan 16, 2024
commit 8cc240a9a350769a2adf6fe6be4eb15f379105ec
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gitlab-time-tracker",
"version": "1.7.39",
"version": "1.7.40",
"description": "A command line interface for GitLabs time tracking feature.",
"bugs": {
"url": "https://github.com/kriskbx/gitlab-time-tracker/issues"
Expand Down
3 changes: 1 addition & 2 deletions src/models/owner.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ class owner extends Base {
*/
getProjectsByGroup() {
return this.parallel(this.groups, (group, done) => {
this.get(`groups/${group.id}/projects`)
.then(response => response.json())
this.all(`groups/${group.id}/projects`)
.then(projects => {
this.projects = this.projects.concat(projects);
done();
Expand Down