mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
Rename notifications.body
to text
This commit is contained in:
parent
8765baf319
commit
dfff6f6d12
16 changed files with 30 additions and 22 deletions
|
@ -626,7 +626,7 @@ class Epp::Domain < Domain
|
|||
|
||||
if dt.pending?
|
||||
registrar.notifications.create!(
|
||||
body: I18n.t('transfer_requested'),
|
||||
text: I18n.t('transfer_requested'),
|
||||
attached_obj_id: dt.id,
|
||||
attached_obj_type: dt.class.to_s
|
||||
)
|
||||
|
@ -728,7 +728,7 @@ class Epp::Domain < Domain
|
|||
return false unless valid?
|
||||
|
||||
registrar.notifications.create!(
|
||||
body: 'Key Relay action completed successfully.',
|
||||
text: 'Key Relay action completed successfully.',
|
||||
attached_obj_type: kr.class.to_s,
|
||||
attached_obj_id: kr.id
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue