diff --git a/src/commands/projects/get.ts b/src/commands/projects/get.ts index c37b701..c992de9 100644 --- a/src/commands/projects/get.ts +++ b/src/commands/projects/get.ts @@ -44,7 +44,7 @@ export default class ProjectsGet extends Command { const [lead, teams, issues, milestones] = await Promise.all([ project.lead, project.teams(), - project.issues({first: 0}), + project.issues({first: 1}), project.projectMilestones(), ]) diff --git a/src/commands/teams/list.ts b/src/commands/teams/list.ts index cd95a01..d9d3e0a 100644 --- a/src/commands/teams/list.ts +++ b/src/commands/teams/list.ts @@ -81,7 +81,7 @@ export default class TeamsList extends Command { const data: TeamData[] = await Promise.all( teams.nodes.map(async (team) => { - const issues = await team.issues({first: 0}) + const issues = await team.issues({first: 1}) return { id: team.id, key: team.key, diff --git a/src/commands/users/get.ts b/src/commands/users/get.ts index 5f9ecc8..21a3665 100644 --- a/src/commands/users/get.ts +++ b/src/commands/users/get.ts @@ -47,7 +47,7 @@ export default class UsersGet extends Command { } // Fetch assigned issues count - const assignedIssues = await user.assignedIssues({first: 0}) + const assignedIssues = await user.assignedIssues({first: 1}) const teams = await user.teams() const data = {