Browse Source

Fix `serviceType` condition of CLI.

pull/17652/head
maliming 3 years ago
parent
commit
62570e3976
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  1. 2
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ServiceProxying/ServiceProxyGeneratorBase.cs

2
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ServiceProxying/ServiceProxyGeneratorBase.cs

@ -47,7 +47,7 @@ public abstract class ServiceProxyGeneratorBase<T> : 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);

Loading…
Cancel
Save