Commit 819cf890 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Resolve app/controllers/concerns/service_params.rb

parent 269619c3
......@@ -68,11 +68,7 @@ module ServiceParams
def service_params
dynamic_params = @service.event_channel_names + @service.event_names # rubocop:disable Gitlab/ModuleWithInstanceVariables
<<<<<<< HEAD
service_params = params.permit(:id, service: allowed_service_params + dynamic_params)
=======
service_params = params.permit(:id, service: ALLOWED_PARAMS_CE + dynamic_params)
>>>>>>> upstream/master
if service_params[:service].is_a?(Hash)
FILTER_BLANK_PARAMS.each do |param|
......
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