summaryrefslogtreecommitdiff
path: root/lib/gitlab/github_import/importer/diff_notes_importer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/github_import/importer/diff_notes_importer.rb')
-rw-r--r--lib/gitlab/github_import/importer/diff_notes_importer.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/github_import/importer/diff_notes_importer.rb b/lib/gitlab/github_import/importer/diff_notes_importer.rb
index 966f12c5c2f..49cbc8f7a42 100644
--- a/lib/gitlab/github_import/importer/diff_notes_importer.rb
+++ b/lib/gitlab/github_import/importer/diff_notes_importer.rb
@@ -22,6 +22,10 @@ module Gitlab
:pull_requests_comments
end
+ def object_type
+ :diff_note
+ end
+
def id_for_already_imported_cache(note)
note.id
end