Fix small typo

This commit is contained in:
Douglas Barbosa Alexandre 2017-04-24 23:41:46 -03:00
parent dd1157c80b
commit aeb1684c52

View file

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