Merge pull request #2044 from internetee/1851-validate-estonian-company-data-from-business-registry

added force delete filter
This commit is contained in:
Timo Võhmar 2021-06-18 17:20:22 +03:00 committed by GitHub
commit 2bdb235610
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,7 @@ namespace :contacts do
contacts << contact unless checking_contacts(contact)
end
contacts.select! { |c| c.ident_country_code == 'EE' }
magic_with_contacts(contacts)
end
end