Commit e0bd3118 authored by Jarka Kadlecova's avatar Jarka Kadlecova

fix conflict resolution in api/v3/merge_request_diffs

parent 9cb9dc40
......@@ -22,7 +22,7 @@ module API
get ":id/merge_requests/:merge_request_id/versions" do
merge_request = find_merge_request_with_access(params[:merge_request_id])
present merge_request.merge_request_diffs.order_id_desc, with: ::API::Entities::MergeRequestDiff
present paginate(merge_request.merge_request_diffs.order_id_desc), with: ::API::Entities::MergeRequestDiff
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