mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 20:55:44 +02:00
Rename email sending interactor
This commit is contained in:
parent
42b9adbf44
commit
ccf91d306a
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
module Domains
|
||||
module DeleteConfirm
|
||||
module DeleteConfirmEmail
|
||||
class SendRequest < ActiveInteraction::Base
|
||||
object :domain,
|
||||
class: Domain,
|
|
@ -418,7 +418,7 @@ class Domain < ApplicationRecord
|
|||
pending_delete_confirmation!
|
||||
save(validate: false) # should check if this did succeed
|
||||
|
||||
Domains::DeleteConfirm::SendRequest.run(domain: self)
|
||||
Domains::DeleteConfirmEmail::SendRequest.run(domain: self)
|
||||
end
|
||||
|
||||
def cancel_pending_delete
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue