From e1370a838536f325f941bd738e330495c2b8bf72 Mon Sep 17 00:00:00 2001 From: Ori Kotek Date: Thu, 2 Nov 2023 15:24:47 +0200 Subject: [PATCH] Update publish_inline_comments in bitbucket_provider.py to use 'position' instead of 'start_line' --- pr_agent/git_providers/bitbucket_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pr_agent/git_providers/bitbucket_provider.py b/pr_agent/git_providers/bitbucket_provider.py index abff4d04..b5d08bfb 100644 --- a/pr_agent/git_providers/bitbucket_provider.py +++ b/pr_agent/git_providers/bitbucket_provider.py @@ -183,7 +183,7 @@ class BitbucketProvider(GitProvider): def publish_inline_comments(self, comments: list[dict]): for comment in comments: - self.publish_inline_comment(comment['body'], comment['start_line'], comment['path']) + self.publish_inline_comment(comment['body'], comment['position'], comment['path']) def get_title(self): return self.pr.title