From df2af5459e28031a4486eb5f05c3402caaeab456 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 12 Jul 2019 15:51:47 -0400 Subject: [PATCH] register event service with container --- src/Core/Utilities/ServiceContainer.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Core/Utilities/ServiceContainer.cs b/src/Core/Utilities/ServiceContainer.cs index dba9a5aa2..de2d891a9 100644 --- a/src/Core/Utilities/ServiceContainer.cs +++ b/src/Core/Utilities/ServiceContainer.cs @@ -54,6 +54,7 @@ namespace Bit.Core.Utilities // TODO: export service var auditService = new AuditService(cryptoFunctionService, apiService); var environmentService = new EnvironmentService(apiService, storageService); + var eventService = new EventService(storageService, apiService, userService, cipherService); Register("stateService", stateService); Register("cryptoFunctionService", cryptoFunctionService); @@ -74,6 +75,7 @@ namespace Bit.Core.Utilities Register("authService", authService); Register("auditService", auditService); Register("environmentService", environmentService); + Register("eventService", eventService); } public static void Register(string serviceName, T obj)