mirror of
https://github.com/internetee/registry.git
synced 2025-08-15 14:03:49 +02:00
added log for disputed issues domain
This commit is contained in:
parent
e971638938
commit
f062e09038
1 changed files with 4 additions and 1 deletions
|
@ -19,7 +19,10 @@ class DisputeStatusUpdateJob < ApplicationJob
|
|||
def clean_disputed
|
||||
domains = Domain.where("array_to_string(statuses, '||') ILIKE ?", '%disputed%')
|
||||
domains.each do |domain|
|
||||
domain.unmark_as_disputed unless domain.disputed?
|
||||
unless domain.disputed?
|
||||
domain.unmark_as_disputed
|
||||
@logger.info "DisputeStatusUpdateJob - Found domain #{domain.name} with disputed status. But disputed record already closed. Unmarking dispute status"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue