##// END OF EJS Templates
api: fix creation of PR with default reviewer rules.
marcink -
r2855:33ba3269 stable
parent child Browse files
Show More
@@ -484,7 +484,7 b' class PullRequestModel(BaseModel):'
484 484 reviewer.mandatory = mandatory
485 485
486 486 # NOTE(marcink): pick only first rule for now
487 rule_id = rules[0] if rules else None
487 rule_id = list(rules)[0] if rules else None
488 488 rule = RepoReviewRule.get(rule_id) if rule_id else None
489 489 if rule:
490 490 review_group = rule.user_group_vote_rule()
General Comments 0
You need to be logged in to leave comments. Login now