Commit 7b2f7875 authored by Sean McGivern's avatar Sean McGivern

Resolve MR diff API conflicts

parent c168c321
......@@ -22,11 +22,7 @@ module API
get ":id/merge_requests/:merge_request_id/versions" do
merge_request = find_merge_request_with_access(params[:merge_request_id])
<<<<<<< HEAD
present paginate(merge_request.merge_request_diffs), with: ::API::Entities::MergeRequestDiff
=======
present merge_request.merge_request_diffs.order_id_desc, with: ::API::Entities::MergeRequestDiff
>>>>>>> upstream/master
end
desc 'Get a single merge request diff version' do
......
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