Skip to content

Commit

Permalink
added update whois job skipping for lifting FG
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegPhenomenon committed Jan 13, 2025
1 parent 466bf7a commit bd1a42d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ def execute
domain.force_delete_date = nil
domain.force_delete_start = nil
domain.status_notes[DomainStatus::FORCE_DELETE] = nil
domain.skip_whois_record_update = false
domain.save(validate: false)
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def execute
domain.admin_store_statuses_history -= domain_statuses unless domain.admin_store_statuses_history.nil?
rejected_statuses = domain.statuses.reject { |a| domain_statuses.include? a }
domain.statuses = rejected_statuses
domain.skip_whois_record_update = true
domain.save(validate: false)
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ def execute

domain.force_delete_domain_statuses_history = nil
domain.admin_store_statuses_history = nil
domain.skip_whois_record_update = true
domain.save(validate: false)
end
end
Expand Down

0 comments on commit bd1a42d

Please sign in to comment.