Commit 040d7b6f authored by Igor Drozdov's avatar Igor Drozdov

Remove id and description from mr widget poll serializer

parent 71c398d0
# 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