Welcome to mirror list, hosted at ThFree Co, Russian Federation.

resolve_service.rb « notes « services « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cf24795f05014bd8727d572346a1f292e3c8ac22 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module Notes
  class ResolveService < ::BaseService
    def execute(note)
      note.resolve!(current_user)

      ::MergeRequests::ResolvedDiscussionNotificationService.new(project, current_user).execute(note.noteable)
    end
  end
end