Skip to content

Commit c18e03d

Browse files
MitchC1999Farzad Hayat
andauthored
Apply suggestions from code review
Co-authored-by: Farzad Hayat <[email protected]>
1 parent f17c1ba commit c18e03d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ROOT/partials/plugin-apis/comments-apis.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ events.forEach((event) => {
139139
if ((event.type === "create" || event.type === "reply") && event.mentionedUids !== undefined) {
140140
console.log(event);
141141
if (whoMentionedWho[event.conversationAuthor.author] === undefined) {
142-
whoMentionedWho[event.conversationAuthor.author] = event.mentionedUids;
142+
whoMentionedWho[event.conversationAuthor.author] = [...event.mentionedUids];
143143
} else {
144144
whoMentionedWho[event.conversationAuthor.author].push(...event.mentionedUids);
145145
}

0 commit comments

Comments
 (0)