blob: 75ce9e27c5bacc0e6af1fddca601f8d355d80e78 (
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: project, current_user: current_user).execute(note.noteable)
end
end
end
|