• Alexandru Croitor's avatar
    Remove duplicates from issue related merge requests · c56970e3
    Alexandru Croitor authored
    Remove duplicates returned by Issues#related_merge_requests API that
    relies on ReferencedMergeRequestsService which returns 2 arrays one of
    related MRs and one of related MRs that close the issue(i.e. a subset
    of first one). We only need related MRs in this case so just pick the
    first array.
issues.rb 14.9 KB