From a97b69e27ff1642f477852a108321bd8cf43223b Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Fri, 16 Dec 2016 02:51:24 +0200 Subject: [PATCH] Fix REPP API contacts #251 --- app/api/repp/contact_v1.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/api/repp/contact_v1.rb b/app/api/repp/contact_v1.rb index ea7bfdc43..810829ef7 100644 --- a/app/api/repp/contact_v1.rb +++ b/app/api/repp/contact_v1.rb @@ -21,8 +21,6 @@ module Repp attributes = Contact.attribute_names - Contact.address_attribute_names contacts = contacts.select(attributes) end - - contacts else contacts = current_user.registrar.contacts.limit(limit).offset(offset).pluck(:code) end