From a02ed104342b9d70cf380a98093b38480b71dfc3 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Tue, 2 Dec 2025 22:45:30 +0800 Subject: [PATCH] :bug: Fix use wrong DI type in cache service --- DysonNetwork.Shared/Extensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DysonNetwork.Shared/Extensions.cs b/DysonNetwork.Shared/Extensions.cs index f717f52..656e924 100644 --- a/DysonNetwork.Shared/Extensions.cs +++ b/DysonNetwork.Shared/Extensions.cs @@ -64,7 +64,7 @@ public static class Extensions options.Configuration = builder.Configuration.GetConnectionString("cache"); options.InstanceName = "dyson:"; }); - builder.Services.AddSingleton(sp => + builder.Services.AddSingleton(sp => { var mux = sp.GetRequiredService(); return RedLockFactory.Create(new List { new(mux) });