mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Story#109040558 - new_registrant_id doesn't have array, but int
This commit is contained in:
parent
3222480b49
commit
f7274bbb2b
1 changed files with 1 additions and 1 deletions
|
@ -590,7 +590,7 @@ class Domain < ActiveRecord::Base
|
|||
def pending_registrant
|
||||
return '' if pending_json.blank?
|
||||
return '' if pending_json['new_registrant_id'].blank?
|
||||
Registrant.find_by(id: pending_json['new_registrant_id'].last)
|
||||
Registrant.find_by(id: pending_json['new_registrant_id'])
|
||||
end
|
||||
|
||||
def generate_auth_info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue