mirror of
https://github.com/internetee/registry.git
synced 2025-06-05 12:17:30 +02:00
updated registrar notify
This commit is contained in:
parent
042d8d5543
commit
cddba82114
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class RegistrantUser < User
|
||||||
|
|
||||||
def notify_registrar_data_updated(company_name:, old_contact_name:, contact:)
|
def notify_registrar_data_updated(company_name:, old_contact_name:, contact:)
|
||||||
contact.registrar.notifications.create!(
|
contact.registrar.notifications.create!(
|
||||||
text: "#{old_contact_name} was changed to #{company_name}"
|
text: "Contact update: #{contact.id} name updated from #{old_contact_name} to #{company_name} by the registry"
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue