mirror of
https://github.com/internetee/registry.git
synced 2025-07-19 17:25:57 +02:00
Story 109367694 - refactor method name
This commit is contained in:
parent
3f906b5ac6
commit
e5a0149d1e
3 changed files with 3 additions and 3 deletions
|
@ -503,7 +503,7 @@ class Epp::Domain < Domain
|
|||
old_registrant_email = DomainMailer.registrant_updated_notification_for_old_registrant(id, deliver_emails)
|
||||
preclean_pendings
|
||||
user = ApiUser.find(pending_json['current_user_id'])
|
||||
::PaperTrail.whodunnit = user.string # updator str should be the request originator not the approval user
|
||||
::PaperTrail.whodunnit = user.id_role_username # updator str should be the request originator not the approval user
|
||||
frame = Nokogiri::XML(pending_json['frame'])
|
||||
statuses.delete(DomainStatus::PENDING_UPDATE)
|
||||
yield(self) if block_given? # need to skip statuses check here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue