Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 4eae537

Browse files
resolve naming conflict
1 parent f4e7a45 commit 4eae537

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/controllers/reviews-controller.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ export class BareReviewsController extends React.Component {
289289
}
290290
}
291291

292-
addSingleComment = async (commentBody, threadID, replyToID, path, position, callbacks = {}) => {
292+
addSingleComment = async (commentBody, threadID, replyToID, commentPath, position, callbacks = {}) => {
293293
let pendingReviewID = null;
294294
try {
295295
this.setState({postingToThreadID: threadID});
@@ -307,7 +307,7 @@ export class BareReviewsController extends React.Component {
307307
reviewID,
308308
threadID,
309309
viewerID: this.props.viewer.id,
310-
path,
310+
path: commentPath,
311311
position,
312312
});
313313
if (callbacks.didSubmitComment) {

0 commit comments

Comments
 (0)