mirror of
https://github.com/internetee/registry.git
synced 2025-06-09 22:24:47 +02:00
Add prototype of FD lifting interaction
This commit is contained in:
parent
90cb154d15
commit
6383dede4b
2 changed files with 36 additions and 3 deletions
|
@ -42,9 +42,11 @@ class EmailAddressVerification < ApplicationRecord
|
|||
end
|
||||
|
||||
def check_force_delete
|
||||
return unless failed?
|
||||
|
||||
Domains::ForceDeleteEmail::Base.run(email: email)
|
||||
if failed?
|
||||
Domains::ForceDeleteEmail::Base.run(email: email)
|
||||
else
|
||||
Domains::ForceDeleteLift::Base.run(email: email)
|
||||
end
|
||||
end
|
||||
|
||||
def verify
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue