mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 10:19:45 +02:00
Story #109367694 - reset updator_str for pendingUpdate to update requestor requires prior commit e15ab3421d
This commit is contained in:
parent
18c643ee8d
commit
c74de1b2bd
1 changed files with 1 additions and 0 deletions
|
@ -503,6 +503,7 @@ class Epp::Domain < Domain
|
||||||
old_registrant_email = DomainMailer.registrant_updated_notification_for_old_registrant(id, deliver_emails)
|
old_registrant_email = DomainMailer.registrant_updated_notification_for_old_registrant(id, deliver_emails)
|
||||||
preclean_pendings
|
preclean_pendings
|
||||||
user = ApiUser.find(pending_json['current_user_id'])
|
user = ApiUser.find(pending_json['current_user_id'])
|
||||||
|
::PaperTrail.whodunnit = user.string # updator str should be the request originator not the approval user
|
||||||
frame = Nokogiri::XML(pending_json['frame'])
|
frame = Nokogiri::XML(pending_json['frame'])
|
||||||
statuses.delete(DomainStatus::PENDING_UPDATE)
|
statuses.delete(DomainStatus::PENDING_UPDATE)
|
||||||
yield(self) if block_given? # need to skip statuses check here
|
yield(self) if block_given? # need to skip statuses check here
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue