Commit 8d533c36 authored by Simon Chabot's avatar Simon Chabot
Browse files

fix: replace members.all by members.list (member.all is deprecated)

parent ea956667c6d1
Pipeline #103558 passed with stage
in 34 seconds
......@@ -148,7 +148,7 @@ class ReviewAssigner:
project = self.cnx.projects.get(merge_request.project_id)
members_with_review_access = (
for member in project.members.all(all=True, as_list=False)
for member in project.members.list(all=True, as_list=False)
if self.user_can_review(member, project, merge_request)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment