aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/import.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/import.rb b/app/models/import.rb
index 286eb3a76..e5da74d94 100644
--- a/app/models/import.rb
+++ b/app/models/import.rb
@@ -61,6 +61,7 @@ class Import < ActiveRecord::Base
status = self.status
if children_failed_count > 0
status = 'failed'
+ # TODO: Update `ended_at`
elsif status_count['successful'] == children_count
status = 'successful'
attributes[:ended_at] = Time.now