Skip to content

Commit

Permalink
Fixes #503; Correct event actor for pr_merged events (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad authored Sep 4, 2024
1 parent 84c50bf commit 1489657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper/src/github-scraper/parseEvents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export const parseEvents = async (events: IGitHubEvent[]) => {
event.payload.pull_request?.merged
) {
const turnaroundTime = await calculateTurnaroundTime(event);
appendEvent(user, {
appendEvent(event.payload.pull_request.user.login, {
type: "pr_merged",
title: `${event.repo.name}#${event.payload.pull_request.number}`,
time: eventTime?.toISOString(),
Expand Down

0 comments on commit 1489657

Please sign in to comment.