Fix small typo

parent dd1157c8
...@@ -324,8 +324,8 @@ module Github ...@@ -324,8 +324,8 @@ module Github
remove_branch(pull_request.target_branch_name) unless pull_request.target_branch_exists? remove_branch(pull_request.target_branch_name) unless pull_request.target_branch_exists?
end end
def label_ids(issuable) def label_ids(labels)
issuable.map { |attrs| cached[:label_ids][attrs.fetch('name')] }.compact labels.map { |attrs| cached[:label_ids][attrs.fetch('name')] }.compact
end end
def milestone_id(milestone) def milestone_id(milestone)
......
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