mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Use notification_template to determine org/priv liquidation template
This commit is contained in:
parent
1217ed633f
commit
de5b85b115
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ module Concerns::Domain::ForceDelete # rubocop:disable Metrics/ModuleLength
|
|||
end
|
||||
|
||||
def notify_parties(reason)
|
||||
ent = registrant.org? ? 'legal_person' : 'private_person' if reason == 'ENTITY_BURIED'
|
||||
ent = notification_template if reason == 'ENTITY_BURIED'
|
||||
ent ||= reason.downcase
|
||||
self.template_name = ent
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue