From 8eceffa25e15266a5c178ab5603ae7e6f4d9c7a2 Mon Sep 17 00:00:00 2001 From: liangshiwei Date: Wed, 26 Jan 2022 13:15:31 +0800 Subject: [PATCH] Update AbpHttpClientProxyServiceConvention --- .../Web/Conventions/AbpHttpClientProxyServiceConvention.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/Volo.Abp.Http.Client.Web/Volo/Abp/Http/Client/Web/Conventions/AbpHttpClientProxyServiceConvention.cs b/framework/src/Volo.Abp.Http.Client.Web/Volo/Abp/Http/Client/Web/Conventions/AbpHttpClientProxyServiceConvention.cs index 29ea577ef6..2cbe02c95e 100644 --- a/framework/src/Volo.Abp.Http.Client.Web/Volo/Abp/Http/Client/Web/Conventions/AbpHttpClientProxyServiceConvention.cs +++ b/framework/src/Volo.Abp.Http.Client.Web/Volo/Abp/Http/Client/Web/Conventions/AbpHttpClientProxyServiceConvention.cs @@ -75,7 +75,7 @@ public class AbpHttpClientProxyServiceConvention : AbpServiceConvention protected virtual bool ShouldBeRemove(ApplicationModel application, ControllerModel controllerModel) { return application.Controllers - .Where(x => x.ControllerType != controllerModel.ControllerType).ToList() + .Where(x => x.ControllerType != controllerModel.ControllerType) .Any(x => FindAppServiceInterfaceType(x) == FindAppServiceInterfaceType(controllerModel)); }