Back

Version 14

6/20/2023
const getCohortRecentCommits = async (cohort) => {
const teamMembers = await @onemanwenttomow.getGithubUsersByTeam(
cohort,
);
const memberCommits = await @onemanwenttomow
.getGithubTeamCommitHistories(teamMembers);
return {
studentsNotCommitingLast7Days: memberCommits.filter((member) =>
!member.commitsLast7Days
).map((member) => `https://github.com/${member.username}`),
studentsNotCommitingLast3Days: memberCommits.filter((member) =>
!member.commitsLast3Days
).map((member) => `https://github.com/${member.username}`),
team: memberCommits,
};
};
Updated: October 23, 2023