Skip to content

Commit

Permalink
fix de-duplicate script
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Oct 30, 2024
1 parent 7c68455 commit f0dcce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper/src/github-scraper/saveData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const mergedData = async (

userData.activity = deduplicate((activity) => {
if (activity.type === "pr_reviewed") {
`${activity.type}--${activity.title}`;
return `${activity.type}--${activity.title}`;
}
return `${activity.type}--${activity.link}`;
}, combinedActivities);
Expand Down

0 comments on commit f0dcce4

Please sign in to comment.