diff --git a/src/Core/Services/Implementations/AppleIapService.cs b/src/Core/Services/Implementations/AppleIapService.cs index cca24e26e7..fe357a51e3 100644 --- a/src/Core/Services/Implementations/AppleIapService.cs +++ b/src/Core/Services/Implementations/AppleIapService.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Linq; using System.Net.Http; -using System.Security.Cryptography; using System.Threading.Tasks; using Bit.Billing.Models; using Bit.Core.Repositories; @@ -11,7 +10,7 @@ using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Newtonsoft.Json.Linq; -namespace Bit.Core.Services.Implementations +namespace Bit.Core.Services { public class AppleIapService : IAppleIapService { diff --git a/src/Core/Utilities/ServiceCollectionExtensions.cs b/src/Core/Utilities/ServiceCollectionExtensions.cs index e6f1a3f92a..223c3440d3 100644 --- a/src/Core/Utilities/ServiceCollectionExtensions.cs +++ b/src/Core/Utilities/ServiceCollectionExtensions.cs @@ -65,11 +65,13 @@ namespace Bit.Core.Utilities { services.AddSingleton(); services.AddSingleton(); + services.AddSingleton(); } else { services.AddSingleton(); services.AddSingleton(); + services.AddSingleton(); } } @@ -82,6 +84,7 @@ namespace Bit.Core.Utilities services.AddScoped(); services.AddScoped(); services.AddSingleton(); + services.AddSingleton(); } public static void AddDefaultServices(this IServiceCollection services, GlobalSettings globalSettings)