mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Story: 105754008 Setting domain from queue that it's valid
This commit is contained in:
parent
b088d39b0e
commit
1aa41257c5
2 changed files with 4 additions and 1 deletions
|
@ -456,6 +456,7 @@ class Epp::Domain < Domain
|
|||
user = ApiUser.find(pending_json['current_user_id'])
|
||||
frame = Nokogiri::XML(pending_json['frame'])
|
||||
statuses.delete(DomainStatus::PENDING_UPDATE)
|
||||
yield(self) if block_given? # need to skip statuses check here
|
||||
|
||||
return unless update(frame, user, false)
|
||||
clean_pendings!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue