mirror of
https://github.com/strapi/strapi.git
synced 2025-11-13 00:29:51 +00:00
Don't populate any relation in GraphQL context
This commit is contained in:
parent
2dfde5a152
commit
4bb9af3fb1
@ -291,7 +291,7 @@ module.exports = {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (isController) {
|
if (isController) {
|
||||||
const values = await resolver.call(null, ctx);
|
const values = await resolver.call(null, ctx, null, { populate: [] });
|
||||||
|
|
||||||
if (ctx.body) {
|
if (ctx.body) {
|
||||||
return ctx.body;
|
return ctx.body;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user