gitlab-org--gitlab-foss/app/services/work_items/update_service.rb

13 lines
268 B
Ruby

# frozen_string_literal: true
module WorkItems
class UpdateService < ::Issues::UpdateService
private
def after_update(issuable)
super
GraphqlTriggers.issuable_title_updated(issuable) if issuable.previous_changes.key?(:title)
end
end
end