fix: [code-1449]: fix code comment issue (#1055)

This commit is contained in:
Calvin Lee 2024-02-20 22:40:51 +00:00 committed by Harness
parent dd11c0eff5
commit 06f9124cc0

View File

@ -209,7 +209,7 @@ export function usePullReqComments({
line_end: comment.lineNumber,
line_start_new: !comment.left,
line_end_new: !comment.left,
path: diff.filePath,
path: diff.isRename && comment.left ? diff.oldName : diff.filePath,
source_commit_sha: sourceRef,
target_commit_sha: targetRef,
text: value