Skip to content

Commit 8129527

Browse files
authored
Missing copilot's :eyes: reaction to comments (#6893)
Fixes #6880
1 parent 33a4124 commit 8129527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/github/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ export function parseGraphQLReaction(reactionGroups: GraphQL.ReactionGroup[]): R
556556
count: group.reactors.totalCount,
557557
icon: reactionContentEmojiMapping[group.content].icon,
558558
viewerHasReacted: group.viewerHasReacted,
559-
reactors: group.reactors.nodes.map(node => COPILOT_ACCOUNTS[node.login].name ?? node.login)
559+
reactors: group.reactors.nodes.map(node => COPILOT_ACCOUNTS[node.login]?.name ?? node.login)
560560
};
561561

562562
return reaction;

0 commit comments

Comments
 (0)