mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
Merge pull request #1770 from internetee/1769-move-domain-release-processing-to-interactor
Move domain delete confirm procedure to interactor
This commit is contained in:
commit
2fc4c9df14
10 changed files with 174 additions and 45 deletions
|
@ -421,7 +421,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