2019-01-06 07:59:10 -05:00
|
|
|
# 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
|
2019-01-07 13:46:34 -05:00
|
|
|
params.slice(:error_tracking_setting_attributes)
|
2019-01-06 07:59:10 -05:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|