Show More
@@ -484,7 +484,7 b' class PullRequestModel(BaseModel):' | |||||
484 | reviewer.mandatory = mandatory |
|
484 | reviewer.mandatory = mandatory | |
485 |
|
485 | |||
486 | # NOTE(marcink): pick only first rule for now |
|
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 | rule = RepoReviewRule.get(rule_id) if rule_id else None |
|
488 | rule = RepoReviewRule.get(rule_id) if rule_id else None | |
489 | if rule: |
|
489 | if rule: | |
490 | review_group = rule.user_group_vote_rule() |
|
490 | review_group = rule.user_group_vote_rule() |
General Comments 0
You need to be logged in to leave comments.
Login now