Update publish_inline_comments in bitbucket_provider.py to use 'position' instead of 'start_line'

This commit is contained in:
Ori Kotek
2023-11-02 15:24:47 +02:00
parent 26d6280a20
commit e1370a8385

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