added error logs handled, removed configuration data from validation event table

This commit is contained in:
olegphenomenon 2022-11-29 13:37:52 +02:00
parent 021d8eebc6
commit 2265bb1ea2
2 changed files with 3 additions and 1 deletions

View file

@ -58,6 +58,8 @@ module Actions
result.success = result_validation.present?
end
result.configuration = nil
contacts.find_in_batches(batch_size: 500) do |contact_batches|
contact_batches.each do |contact|
# methods should be in this order!

View file

@ -23,7 +23,7 @@ class ValidationEvent < ApplicationRecord
smtp: 1,
}.freeze
store_accessor :event_data, :errors, :check_level, :email
store_accessor :event_data, :check_level, :email
belongs_to :validation_eventable, polymorphic: true