diff --git a/config/initializers/graphql.rb b/config/initializers/graphql.rb index 06b39aaab..1f0c8968d 100644 --- a/config/initializers/graphql.rb +++ b/config/initializers/graphql.rb @@ -1,7 +1,7 @@ API_TYPE_DEFINITIONS = { User => %I[ id username proposals ], - Debate => %I[ id title description author_id author created_at ], - Proposal => %I[ id title description author_id author created_at ], + Debate => %I[ id title description author_id author created_at comments ], + Proposal => %I[ id title description author_id author created_at comments ], Comment => %I[ id body user_id user commentable_id ] }