mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Fix rejecting updates
This commit is contained in:
parent
a0bc60ac74
commit
6ab08dbd67
3 changed files with 22 additions and 2 deletions
|
@ -17,7 +17,7 @@ module Domains
|
|||
preclean_pendings
|
||||
update_domain
|
||||
clean_pendings!
|
||||
domain.save!
|
||||
domain.save(validate: false)
|
||||
|
||||
WhoisRecord.find_by(domain_id: domain.id).save # need to reload model
|
||||
end
|
||||
|
|
|
@ -11,7 +11,7 @@ module Domains
|
|||
|
||||
preclean_pendings
|
||||
clean_pendings!
|
||||
domain.save!
|
||||
domain.save(validate: false)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue