diff --git a/reviewrot/gitlabstack.py b/reviewrot/gitlabstack.py index 6bca5ef..cd607a3 100644 --- a/reviewrot/gitlabstack.py +++ b/reviewrot/gitlabstack.py @@ -222,7 +222,7 @@ def get_last_comment(self, mr): last comment (LastComment): Returns namedtuple LastComment with data related to last comment """ - for note in mr.notes.list(): + for note in mr.notes.list(iterator=True): if not note.system: return LastComment( author=note.author["username"],