diff options
-rw-r--r-- | lib/gitlab/github_import/importer/milestones_importer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/github_import/importer/milestones_importer.rb b/lib/gitlab/github_import/importer/milestones_importer.rb index 8a5b3db9e08..71ff7465d9b 100644 --- a/lib/gitlab/github_import/importer/milestones_importer.rb +++ b/lib/gitlab/github_import/importer/milestones_importer.rb @@ -42,7 +42,7 @@ module Gitlab description: milestone.description, project_id: project.id, state: state_for(milestone), - due_date: milestone.due_on.to_date, + due_date: milestone.due_on&.to_date, created_at: milestone.created_at, updated_at: milestone.updated_at } |