Skip to content

Commit

Permalink
fix: ignore limit for assigned users
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Dec 2, 2024
1 parent d0f0921 commit 377e8f2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/parser/processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ export class Processor {
}
// Aggregate total result
for (const item of Object.keys(this._result)) {
this._result[item].total = this._sumRewards(this._result[item], this._getRewardsLimit());
this._result[item].total = this._sumRewards(
this._result[item],
// We do not want to cap assigned users
data.self?.assignees?.some((o) => o.login === item) ? Infinity : this._getRewardsLimit()
);
}
}
return this._result;
Expand Down

0 comments on commit 377e8f2

Please sign in to comment.