debian-mirror-gitlab/app/workers/create_note_diff_file_worker.rb
2020-04-08 14:13:33 +05:30

14 lines
296 B
Ruby

# frozen_string_literal: true
class CreateNoteDiffFileWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
feature_category :source_code_management
def perform(diff_note_id)
diff_note = DiffNote.find(diff_note_id)
diff_note.create_diff_file
end
end