Fixed bug for the Comment element inside the API_TYPE_DEFINITIONS

This commit is contained in:
Alberto Miedes Garcés
2016-11-17 17:25:27 +01:00
parent 6fca1f02fe
commit fc61d63aff

View File

@@ -2,7 +2,7 @@ API_TYPE_DEFINITIONS = {
User => %I[ id username proposals ], User => %I[ id username proposals ],
Debate => %I[ id title description author_id author created_at ], Debate => %I[ id title description author_id author created_at ],
Proposal => %I[ id title description author_id author created_at ], Proposal => %I[ id title description author_id author created_at ],
Comment => %I[ id body author_id author commentable_id commentable] Comment => %I[ id body user_id user commentable_id ]
} }
api_types = {} api_types = {}