Skip to content

Commit

Permalink
show client description in api
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Dec 20, 2018
1 parent 572626e commit 67732cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/serializers/client_serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 67732cd

Please sign in to comment.