mirror of
https://github.com/internetee/registry.git
synced 2025-07-29 22:16:19 +02:00
fixed callback
This commit is contained in:
parent
78ffab35c7
commit
2951a4da3f
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class Contact < ApplicationRecord
|
|||
country_code: country_code) },
|
||||
mapping: [%w[ident code], %w[ident_type type], %w[ident_country_code country_code]]
|
||||
|
||||
after_save :update_related_whois_records
|
||||
after_commit :update_related_whois_records
|
||||
before_validation :clear_address_modifications, if: -> { !self.class.address_processing? }
|
||||
|
||||
# TODO: remove after testing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue