Skip to content

Commit 5d8c589

Browse files
committed
fix: fix type errors in getMissingData after merging main
1 parent e5c89a9 commit 5d8c589

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/proxy/processors/push-action/getMissingData.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,14 @@ const exec = async (req: any, action: Action): Promise<Action> => {
4747
const timestamp = Math.floor(new Date(entry.date).getTime() / 1000).toString();
4848
return {
4949
message: entry.message || '',
50-
committer: entry.author_name || '',
50+
committer: entry.author_name || '', // not actually the committer, but the author of one of the commits
5151
tree: entry.hash || '',
5252
parent: parent || EMPTY_COMMIT_HASH,
5353
author: entry.author_name || '',
5454
authorEmail: entry.author_email || '',
55+
committerEmail: entry.author_email || '',
5556
commitTimestamp: timestamp,
56-
}
57+
};
5758
});
5859
console.log(`Updated commitData:`, { commitData: action.commitData });
5960

0 commit comments

Comments
 (0)