Skip to content

Commit

Permalink
Rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
matiaslcoulougian committed Feb 7, 2025
1 parent 355beb3 commit c48a1e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sources/jira-source/src/streams/faros_sprint_reports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class FarosSprintReports extends StreamWithBoardSlices {
const boards = await jira.getProjectBoards(projectKey);
for (const board of boards) {
if (board.type !== 'scrum') continue;
yield* this.processBoardSprints(
yield* this.processBoardSprintReports(
jira,
toString(board.id),
updateRange,
Expand All @@ -56,11 +56,11 @@ export class FarosSprintReports extends StreamWithBoardSlices {
} else {
const board = await jira.getBoard(boardId);
if (board.type !== 'scrum') return;
yield* this.processBoardSprints(jira, boardId, updateRange);
yield* this.processBoardSprintReports(jira, boardId, updateRange);
}
}

private async *processBoardSprints(
private async *processBoardSprintReports(
jira: Jira,
boardId: string,
updateRange: [Date | undefined, Date | undefined],
Expand Down

0 comments on commit c48a1e0

Please sign in to comment.