Skip to content

Commit 145ae8d

Browse files
mynk8mfocko
authored andcommitted
fix pagination problems in commit comments[gitlab] and update tests
1 parent 9c75357 commit 145ae8d

File tree

2 files changed

+297
-177
lines changed

2 files changed

+297
-177
lines changed

ogr/services/gitlab/project.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def get_commit_comments(self, commit: str) -> list[CommitComment]:
310310

311311
return [
312312
self._commit_comment_from_gitlab_object(comment, commit)
313-
for comment in commit_object.comments.list()
313+
for comment in commit_object.comments.list(all=True)
314314
]
315315

316316
def get_commit_comment(self, commit_sha: str, comment_id: int) -> CommitComment:

0 commit comments

Comments
 (0)