Fix REPP API contacts

#251
This commit is contained in:
Artur Beljajev 2016-12-16 02:51:24 +02:00
parent e08cc9c7c9
commit a97b69e27f

View file

@ -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