mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 08:52:04 +02:00
Add notification on autoFD
This commit is contained in:
parent
81c21db392
commit
91093b274d
6 changed files with 42 additions and 10 deletions
|
@ -45,9 +45,9 @@ module Domain::ForceDelete # rubocop:disable Metrics/ModuleLength
|
|||
statuses.include?(DomainStatus::FORCE_DELETE)
|
||||
end
|
||||
|
||||
def schedule_force_delete(type: :fast_track, notify_by_email: false, reason: nil)
|
||||
def schedule_force_delete(type: :fast_track, notify_by_email: false, reason: nil, email: nil)
|
||||
Domains::ForceDelete::SetForceDelete.run(domain: self, type: type, reason: reason,
|
||||
notify_by_email: notify_by_email)
|
||||
notify_by_email: notify_by_email, email: email)
|
||||
end
|
||||
|
||||
def cancel_force_delete
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue