diff --git a/app/models/registrar.rb b/app/models/registrar.rb index 9e7d84a7b..9cba29faf 100644 --- a/app/models/registrar.rb +++ b/app/models/registrar.rb @@ -76,7 +76,7 @@ class Registrar < ActiveRecord::Base seller_url: Setting.registry_url, seller_email: Setting.registry_email, seller_contact_name: Setting.registry_invoice_contact, - buyer_id: id, + buyer: self, buyer_name: name, buyer_reg_no: reg_no, buyer_country_code: country_code,