mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 22:46:22 +02:00
added error logs handled, removed configuration data from validation event table
This commit is contained in:
parent
021d8eebc6
commit
2265bb1ea2
2 changed files with 3 additions and 1 deletions
|
@ -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!
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue