diff --git a/app/serializers/client_serializer.rb b/app/serializers/client_serializer.rb index 96c9fbf72..c77bf4976 100644 --- a/app/serializers/client_serializer.rb +++ b/app/serializers/client_serializer.rb @@ -4,7 +4,7 @@ class ClientSerializer set_type :clients set_id :uid - attributes :name, :symbol, :year, :contact_name, :contact_email, :domains, :url, :created, :updated + attributes :name, :symbol, :year, :contact_name, :contact_email, :description, :domains, :url, :created, :updated belongs_to :provider, record_type: :providers belongs_to :repository, record_type: :repositories, if: Proc.new { |client| client.repository_id }