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: 0db8ee809a9e29011ef5563ee6ca2d30984df34b (plain)
1
2
3
4
5
6
7
8
9
module Notes
  class ResolveService < ::BaseService
    def execute(note)
      note.resolve!(current_user)

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