app/frontend/support/resolve_graphql_query.ts in decidim-comments-0.0.8.1 vs app/frontend/support/resolve_graphql_query.ts in decidim-comments-0.1.0

- old
+ new

@@ -18,10 +18,10 @@ * @returns {Object} - The result of the query filtered or not */ const resolveGraphQLQuery = (document: any, options: any = {}) => { const { filterResult, rootValue, context, variables } = options; - let result = graphql( + const result = graphql( resolver, document, rootValue, context, variables,