Fix `serviceType` condition of CLI.

pull/17652/head
maliming 1 year ago
parent 807968cb06
commit 62570e3976
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4

@ -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