summaryrefslogtreecommitdiff
path: root/lib/api/notes.rb
diff options
context:
space:
mode:
authorAlexandru Croitor <acroitor@gitlab.com>2019-04-05 19:17:13 +0300
committerAlexandru Croitor <acroitor@gitlab.com>2019-04-05 22:17:07 +0300
commitc56970e3f72192bf02a0cae535b45357981a848a (patch)
treeef5ccf38db8ec76127e42d2811ddaac893c2e3df /lib/api/notes.rb
parent941e00121c30baf0bf4e348d0d2b9b28891754d7 (diff)
downloadgitlab-ce-duplicate-related-mrs.tar.gz
Remove duplicates from issue related merge requestsduplicate-related-mrs
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.
Diffstat (limited to 'lib/api/notes.rb')
0 files changed, 0 insertions, 0 deletions