From 80e9fdc9682cfbcfb9202a2733605a6a6bd23f05 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 8 Apr 2020 18:09:16 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- app/serializers/diffs_entity.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/serializers') diff --git a/app/serializers/diffs_entity.rb b/app/serializers/diffs_entity.rb index 1d0b4183f96..568d0f6aa8f 100644 --- a/app/serializers/diffs_entity.rb +++ b/app/serializers/diffs_entity.rb @@ -99,7 +99,7 @@ class DiffsEntity < Grape::Entity end def commit_options(options) - prev_commit_id, next_commit_id = *commit_neighbors(options[:commit]&.id) + next_commit_id, prev_commit_id = *commit_neighbors(options[:commit]&.id) options.merge( type: :full, -- cgit v1.2.3