Fix missing populate in graphql queries

This commit is contained in:
Alexandre Bodin 2019-04-18 11:33:19 +02:00
parent def65ba152
commit 9103e3a2fa

View File

@ -263,7 +263,7 @@ module.exports = {
}); });
if (isController) { if (isController) {
const values = await resolver.call(null, ctx, null, { populate: [] }); const values = await resolver.call(null, ctx, null);
if (ctx.body) { if (ctx.body) {
return ctx.body; return ctx.body;