debian-mirror-gitlab/app/services/work_items/update_service.rb
2022-04-04 11:22:00 +05:30

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