mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
Merge branch 'story/115405945-clean_expired_pendings' into staging
This commit is contained in:
commit
b73cc424ff
1 changed files with 4 additions and 2 deletions
|
@ -367,10 +367,12 @@ class Domain < ActiveRecord::Base
|
|||
registrant_verification_asked_at: nil,
|
||||
pending_json: {},
|
||||
status_notes: status_notes,
|
||||
statuses: statuses.presence || [DomainStatus::OK]
|
||||
statuses: statuses.presence || [DomainStatus::OK],
|
||||
# need this column in order to update PaperTrail version properly
|
||||
updated_at: Time.now.utc
|
||||
}
|
||||
|
||||
# papertrail
|
||||
# PaperTrail
|
||||
self.attributes = hash
|
||||
record_update
|
||||
clear_version_instance!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue