Commit f42880c0 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'id-remove-title-description-from-mr-poll-widget' into 'master'

Remove id and description from mr widget poll serializer

See merge request gitlab-org/gitlab!20904
parents bbf014e6 040d7b6f
# frozen_string_literal: true
class MergeRequestPollWidgetEntity < IssuableEntity
class MergeRequestPollWidgetEntity < Grape::Entity
include RequestAwareEntity
expose :auto_merge_strategy
expose :available_auto_merge_strategies do |merge_request|
AutoMergeService.new(merge_request.project, current_user).available_strategies(merge_request) # rubocop: disable CodeReuse/ServiceClass
......
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