mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Story #109086524 - Save update with the user id that requested update, when admin approves
(I thought this change was already committed, but where?)
This commit is contained in:
parent
80fe0428b2
commit
05b2408b43
1 changed files with 2 additions and 0 deletions
|
@ -507,7 +507,9 @@ class Epp::Domain < Domain
|
|||
frame = Nokogiri::XML(pending_json['frame'])
|
||||
statuses.delete(DomainStatus::PENDING_UPDATE)
|
||||
yield(self) if block_given? # need to skip statuses check here
|
||||
save
|
||||
|
||||
PaperTrail.whodunnit = user
|
||||
return unless update(frame, user, false)
|
||||
clean_pendings!
|
||||
self.deliver_emails = true # turn on email delivery
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue