From 5daf59e81396decd1cedc98736c748d225cc67a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20Miedes=20Garc=C3=A9s?= Date: Mon, 26 Dec 2016 13:42:45 +0100 Subject: [PATCH] Update Proposal fields exposed in API --- config/initializers/graphql.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/graphql.rb b/config/initializers/graphql.rb index 1cfd238aa..f0b27dac6 100644 --- a/config/initializers/graphql.rb +++ b/config/initializers/graphql.rb @@ -1,7 +1,7 @@ API_TYPE_DEFINITIONS = { User => %I[ id username proposals organization ], Debate => %I[ id title description author_id author created_at comments ], - Proposal => %I[ id title description public_author created_at comments ], + Proposal => %I[ id title description external_url cached_votes_up comments_count hot_score confidence_score created_at summary video_url geozone_id retired_at retired_reason retired_explanation geozone comments public_author ], Comment => %I[ id body user_id user commentable_id ], Organization => %I[ id name ] }