This commit is contained in:
Karl Erik Õunapuu 2020-11-05 15:51:20 +02:00
parent 6eddbb81ad
commit e568369e36
No known key found for this signature in database
GPG key ID: C9DD647298A34764
2 changed files with 7 additions and 4 deletions

View file

@ -155,7 +155,7 @@ module Concerns::Domain::ForceDelete # rubocop:disable Metrics/ModuleLength
end
def notify_parties(reason)
ent = notification_template if reason == 'ENTITY_BURIED'
ent = notification_template if %w[ENTITY_BURIED EMAIL].include? reason
ent ||= reason.downcase
self.template_name = ent