From 62570e39769f7a95e42a146c63ae7aef0dc8fbd1 Mon Sep 17 00:00:00 2001 From: maliming Date: Sat, 16 Sep 2023 13:59:48 +0800 Subject: [PATCH] Fix `serviceType` condition of CLI. --- .../Volo/Abp/Cli/ServiceProxying/ServiceProxyGeneratorBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ServiceProxying/ServiceProxyGeneratorBase.cs b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ServiceProxying/ServiceProxyGeneratorBase.cs index f92647aee0..5f53333de1 100644 --- a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ServiceProxying/ServiceProxyGeneratorBase.cs +++ b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ServiceProxying/ServiceProxyGeneratorBase.cs @@ -47,7 +47,7 @@ public abstract class ServiceProxyGeneratorBase : IServiceProxyGenerator wher switch (serviceType) { case ServiceType.Application: - moduleDefinition.Controllers.RemoveAll(x => !x.Value.IsRemoteService); + moduleDefinition.Controllers.RemoveAll(x => x.Value.IsIntegrationService); break; case ServiceType.Integration: moduleDefinition.Controllers.RemoveAll(x => !x.Value.IsIntegrationService);