From 047a96724135e3ef33a130a78f07177959800de4 Mon Sep 17 00:00:00 2001 From: MayueCif <6133287+MayueCif@users.noreply.github.com> Date: Mon, 17 Jul 2023 08:55:05 +0800 Subject: [PATCH] refactor:UseMultiEnvironment (#656) --- .../ServiceCollectionExtensions.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Contrib/StackSdks/Masa.Contrib.StackSdks.Isolation/ServiceCollectionExtensions.cs b/src/Contrib/StackSdks/Masa.Contrib.StackSdks.Isolation/ServiceCollectionExtensions.cs index f191d0c85..b0c23a672 100644 --- a/src/Contrib/StackSdks/Masa.Contrib.StackSdks.Isolation/ServiceCollectionExtensions.cs +++ b/src/Contrib/StackSdks/Masa.Contrib.StackSdks.Isolation/ServiceCollectionExtensions.cs @@ -9,8 +9,7 @@ public static async Task AddStackIsolationAsync(this IServic { services.AddIsolation(isolationBuilder => { - isolationBuilder.UseMultiEnvironment(IsolationConsts.ENVIRONMENT); - isolationBuilder.UseMultiEnvironment(new List() + isolationBuilder.UseMultiEnvironment(IsolationConsts.ENVIRONMENT, new List() { new HttpContextItemParserProvider(), new QueryStringParserProvider(),