Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
feat: selectivly enable incentives
Browse files Browse the repository at this point in the history
  • Loading branch information
me505 committed Sep 18, 2023
1 parent d72f646 commit 7827869
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/payout/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,4 +415,4 @@ const calculateRewardValue = (comments: Record<string, string[]>, incentives: In
}

return sum;
};
}
2 changes: 2 additions & 0 deletions src/helpers/issue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ export const getIncentivizedUsers = async (issue_number: number) => {
}
}
return users;

}

export const listAllIssuesForRepo = async (state: "open" | "closed" | "all" = "open") => {
const issuesArr = [];
Expand Down

0 comments on commit 7827869

Please sign in to comment.