Merge pull request #424 from Codium-ai/ok/bitbucket_fix

Update Bitbucket Provider to Use 'position' Instead of 'start_line' for Inline Comments
This commit is contained in:
Ori Kotek
2023-11-02 18:31:18 +02:00
committed by GitHub

View File

@ -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