107279016-condition typo

This commit is contained in:
Stas 2015-11-13 13:11:52 +02:00
parent e5b3495f37
commit 34363ca878

View file

@ -290,7 +290,7 @@ namespace :import do
:object :object
).find_each(batch_size: 1000).with_index do |x, index| ).find_each(batch_size: 1000).with_index do |x, index|
next if existing_ids.include?(x.id) || Registrar.find_by(legacy_id: x.object.try(:clid)).try(:name) == 'eedirect' next if existing_ids.include?(x.id) || Registrar.find_by(legacy_id: x.object.try(:clid)).try(:name) != 'eedirect'
count += 1 count += 1
reserved_domains << ReservedDomain.new({ reserved_domains << ReservedDomain.new({