Add missing parameter to getThreadsBy* call
Change-Id: I14776687e3147dec402d5ccb25e91dbdcc701640
diff --git a/polygerrit-ui/app/elements/diff/gr-comment-api/gr-comment-api.ts b/polygerrit-ui/app/elements/diff/gr-comment-api/gr-comment-api.ts
index 4f6dc3a..e7617b7 100644
--- a/polygerrit-ui/app/elements/diff/gr-comment-api/gr-comment-api.ts
+++ b/polygerrit-ui/app/elements/diff/gr-comment-api/gr-comment-api.ts
@@ -293,7 +293,10 @@
path: string,
patchRange: PatchRange
): CommentThread[] {
- return createCommentThreads(this.getCommentsForPath(path, patchRange));
+ return createCommentThreads(
+ this.getCommentsForPath(path, patchRange),
+ patchRange
+ );
}
/**
@@ -337,7 +340,10 @@
file: PatchSetFile,
patchRange: PatchRange
): CommentThread[] {
- return createCommentThreads(this.getCommentsForFile(file, patchRange));
+ return createCommentThreads(
+ this.getCommentsForFile(file, patchRange),
+ patchRange
+ );
}
/**