mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
Fix FD mail template assign in bulk FD
This commit is contained in:
parent
980e5be7fc
commit
51d455e619
1 changed files with 1 additions and 3 deletions
|
@ -14,7 +14,6 @@ class MassAction
|
|||
def self.process_force_delete(entries)
|
||||
return false unless force_delete_entries_valid?(entries)
|
||||
|
||||
STDOUT << 'PASSSß'
|
||||
apply_force_deletes(entries)
|
||||
end
|
||||
|
||||
|
@ -24,10 +23,9 @@ class MassAction
|
|||
dn = Domain.find_by(name_puny: e['domain_name'])
|
||||
log[:fail] << e['domain_name'] and next unless dn
|
||||
|
||||
dn.schedule_force_delete(type: :soft, notify_by_email: false, reason: e['delete_reason'])
|
||||
dn.schedule_force_delete(type: :soft, notify_by_email: true, reason: e['delete_reason'])
|
||||
|
||||
log[:ok] << dn.name
|
||||
STDOUT << 'OOOOK'
|
||||
end
|
||||
|
||||
log
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue