mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
Story#111397154 - if during import file is not present, then just notify
This commit is contained in:
parent
9806243553
commit
813464c91d
1 changed files with 2 additions and 2 deletions
|
@ -120,7 +120,7 @@ namespace :import do
|
||||||
object: last_changes,
|
object: last_changes,
|
||||||
object_changes: changes,
|
object_changes: changes,
|
||||||
created_at: time,
|
created_at: time,
|
||||||
children: {legacy_documents: files.map(&:id)}
|
children: {legacy_documents: files.compact.map(&:id)}
|
||||||
}
|
}
|
||||||
data << hash
|
data << hash
|
||||||
|
|
||||||
|
@ -226,7 +226,7 @@ namespace :import do
|
||||||
nameservers: responder.history_domain.import_nameservers_history(domain, time),
|
nameservers: responder.history_domain.import_nameservers_history(domain, time),
|
||||||
dnskeys: responder.history_domain.import_dnskeys_history(domain, time),
|
dnskeys: responder.history_domain.import_dnskeys_history(domain, time),
|
||||||
registrant: [responder.history_domain.new_registrant_id],
|
registrant: [responder.history_domain.new_registrant_id],
|
||||||
legacy_documents: files.map(&:id)
|
legacy_documents: files.compact.map(&:id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
data << hash
|
data << hash
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue