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:
Timo Võhmar 2020-12-16 16:46:42 +02:00 committed by GitHub
commit 2fc4c9df14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 174 additions and 45 deletions

View file

@ -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