From 47872355838c333e47a7148dda1145eeedb079ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E4=BC=9F?= <421281095@qq.com> Date: Thu, 26 Jun 2025 09:40:00 +0800 Subject: [PATCH] =?UTF-8?q?mqtt=20=E6=9E=84=E9=80=A0=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OpenAuth.WebApi/Startup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenAuth.WebApi/Startup.cs b/OpenAuth.WebApi/Startup.cs index 12cb679..e7e6440 100644 --- a/OpenAuth.WebApi/Startup.cs +++ b/OpenAuth.WebApi/Startup.cs @@ -46,7 +46,7 @@ namespace OpenAuth.WebApi public void ConfigureServices(IServiceCollection services) { services.AddHttpContextAccessor(); - services.AddSingleton(_ => new MqttClientManager()); + services.AddSingleton(); // minio client services.AddSingleton(_ => new MinioService());