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)