mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-14 11:55:17 +00:00
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:
commit
60bdfb78df
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ class BitbucketProvider(GitProvider):
|
||||||
|
|
||||||
def publish_inline_comments(self, comments: list[dict]):
|
def publish_inline_comments(self, comments: list[dict]):
|
||||||
for comment in comments:
|
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):
|
def get_title(self):
|
||||||
return self.pr.title
|
return self.pr.title
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue