Fix rejecting updates

This commit is contained in:
Alex Sherman 2020-12-02 13:51:49 +05:00
parent a0bc60ac74
commit 6ab08dbd67
3 changed files with 22 additions and 2 deletions

View file

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

View file

@ -11,7 +11,7 @@ module Domains
preclean_pendings
clean_pendings!
domain.save!
domain.save(validate: false)
end
end
end