gitlab-org--gitlab-foss/app/services/projects/operations/update_service.rb

20 lines
378 B
Ruby

# frozen_string_literal: true
module Projects
module Operations
class UpdateService < BaseService
def execute
Projects::UpdateService
.new(project, current_user, project_update_params)
.execute
end
private
def project_update_params
params.slice(:error_tracking_setting_attributes)
end
end
end
end