diff --git a/src/OrchardCore.Modules/OrchardCore.Search.Elasticsearch/GraphQL/Startup.cs b/src/OrchardCore.Modules/OrchardCore.Search.Elasticsearch/GraphQL/Startup.cs index 9f4f883774f..f026c4b5c74 100644 --- a/src/OrchardCore.Modules/OrchardCore.Search.Elasticsearch/GraphQL/Startup.cs +++ b/src/OrchardCore.Modules/OrchardCore.Search.Elasticsearch/GraphQL/Startup.cs @@ -8,7 +8,7 @@ namespace OrchardCore.Search.Elasticsearch.GraphQL /// /// These services are registered on the tenant service collection /// - [RequireFeatures("OrchardCore.Apis.GraphQL")] + [RequireFeatures("OrchardCore.Apis.GraphQL", "OrchardCore.Queries")] public class Startup : StartupBase { public override void ConfigureServices(IServiceCollection services) diff --git a/src/OrchardCore.Modules/OrchardCore.Search.Lucene/GraphQL/Startup.cs b/src/OrchardCore.Modules/OrchardCore.Search.Lucene/GraphQL/Startup.cs index 431ea5cca7e..c58d5612692 100644 --- a/src/OrchardCore.Modules/OrchardCore.Search.Lucene/GraphQL/Startup.cs +++ b/src/OrchardCore.Modules/OrchardCore.Search.Lucene/GraphQL/Startup.cs @@ -8,7 +8,7 @@ namespace OrchardCore.Search.Lucene.GraphQL /// /// These services are registered on the tenant service collection /// - [RequireFeatures("OrchardCore.Apis.GraphQL")] + [RequireFeatures("OrchardCore.Apis.GraphQL", "OrchardCore.Queries")] public class Startup : StartupBase { public override void ConfigureServices(IServiceCollection services)