diff options
Diffstat (limited to 'lib/gitlab/merge_requests')
-rw-r--r-- | lib/gitlab/merge_requests/mergeability/check_result.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/merge_requests/mergeability/check_result.rb b/lib/gitlab/merge_requests/mergeability/check_result.rb index 5284d20d423..a25156661af 100644 --- a/lib/gitlab/merge_requests/mergeability/check_result.rb +++ b/lib/gitlab/merge_requests/mergeability/check_result.rb @@ -13,11 +13,11 @@ module Gitlab end def self.success(payload: {}) - new(status: SUCCESS_STATUS, payload: default_payload.merge(payload)) + new(status: SUCCESS_STATUS, payload: default_payload.merge(**payload)) end def self.failed(payload: {}) - new(status: FAILED_STATUS, payload: default_payload.merge(payload)) + new(status: FAILED_STATUS, payload: default_payload.merge(**payload)) end def self.from_hash(data) |