Fix config renamed by error (#9559)

This commit is contained in:
Alexandre BODIN 2021-03-01 19:12:54 +01:00 committed by GitHub
parent 0af8277f0b
commit 65bc2d04d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ const { buildQuery, buildMutation } = require('./resolvers-builder');
*/
const generateSchema = () => {
const isFederated = _.get(strapi.plugins.graphql.config, 'isFederated', false);
const isFederated = _.get(strapi.plugins.graphql.config, 'federation', false);
const shadowCRUDEnabled = strapi.plugins.graphql.config.shadowCRUD !== false;
// Generate type definition and query/mutation for models.