From 5f5040a910cdf2261c4342f95cd03f41f2bd4dac Mon Sep 17 00:00:00 2001 From: Jkorf Date: Fri, 27 Sep 2024 08:21:52 +0200 Subject: [PATCH] wip --- HTX.Net/ExtensionMethods/ServiceCollectionExtensions.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HTX.Net/ExtensionMethods/ServiceCollectionExtensions.cs b/HTX.Net/ExtensionMethods/ServiceCollectionExtensions.cs index e58d3ed..3b4b173 100644 --- a/HTX.Net/ExtensionMethods/ServiceCollectionExtensions.cs +++ b/HTX.Net/ExtensionMethods/ServiceCollectionExtensions.cs @@ -61,6 +61,8 @@ public static IServiceCollection AddHTX( services.RegisterSharedRestInterfaces(x => x.GetRequiredService().SpotApi.SharedClient); services.RegisterSharedSocketInterfaces(x => x.GetRequiredService().SpotApi.SharedClient); + services.RegisterSharedRestInterfaces(x => x.GetRequiredService().UsdtFuturesApi.SharedClient); + services.RegisterSharedSocketInterfaces(x => x.GetRequiredService().UsdtFuturesApi.SharedClient); services.AddTransient(x => x.GetRequiredService().SpotApi.CommonSpotClient); if (socketClientLifeTime == null)