10 lines
238 B
Ruby
10 lines
238 B
Ruby
|
module Notes
|
||
|
class ResolveService < ::BaseService
|
||
|
def execute(note)
|
||
|
note.resolve!(current_user)
|
||
|
|
||
|
::MergeRequests::ResolvedDiscussionNotificationService.new(project, current_user).execute(note.noteable)
|
||
|
end
|
||
|
end
|
||
|
end
|