From fff32e8086d7555099d2a69e5495274193128592 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 18 Apr 2019 12:21:35 -0400 Subject: [PATCH] register environment service --- src/Core/Utilities/ServiceContainer.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Core/Utilities/ServiceContainer.cs b/src/Core/Utilities/ServiceContainer.cs index 74e90a56c..e5de3c099 100644 --- a/src/Core/Utilities/ServiceContainer.cs +++ b/src/Core/Utilities/ServiceContainer.cs @@ -49,7 +49,8 @@ namespace Bit.Core.Utilities i18nService, platformUtilsService, messagingService); // TODO: export service var auditService = new AuditService(cryptoFunctionService, apiService); - // TODO: notification and env services + var environmentService = new EnvironmentService(apiService, storageService); + // TODO: notification service Register("stateService", stateService); Register("cryptoFunctionService", cryptoFunctionService); @@ -67,6 +68,7 @@ namespace Bit.Core.Utilities Register("totpService", totpService); Register("authService", authService); Register("auditService", auditService); + Register("environmentService", environmentService); } public static void Register(string serviceName, T obj)