mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
Ensure that Whois record is updated/destroyed when actions performed on Zone objects
This commit is contained in:
parent
7e640a376e
commit
55de10a53d
4 changed files with 36 additions and 1 deletions
|
@ -75,6 +75,7 @@ class UpdateWhoisRecordJob < Que::Job
|
|||
|
||||
def delete_zone(name)
|
||||
WhoisRecord.where(name: name).destroy_all
|
||||
Whois::Record.where(name: name).destroy_all
|
||||
end
|
||||
|
||||
def remove_status_from_whois(domain_name:, domain_status:)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue