mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
Fix updating procedure
This commit is contained in:
parent
6ab08dbd67
commit
252d39464a
4 changed files with 20 additions and 3 deletions
|
@ -33,10 +33,12 @@ module Domains
|
|||
end
|
||||
|
||||
def clean_pendings!
|
||||
domain.is_admin = true
|
||||
domain.registrant_verification_token = nil
|
||||
domain.registrant_verification_asked_at = nil
|
||||
domain.pending_json = {}
|
||||
clear_statuses
|
||||
domain.save
|
||||
end
|
||||
|
||||
def clear_statuses
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue