From aedbfcce5000f6f1f727df9f336ee0ffd05ad945 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 11 Jul 2019 21:45:14 -0400 Subject: [PATCH] register global settings --- src/EventsProcessor/Startup.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/EventsProcessor/Startup.cs b/src/EventsProcessor/Startup.cs index 97e2d7d318..c1307136ae 100644 --- a/src/EventsProcessor/Startup.cs +++ b/src/EventsProcessor/Startup.cs @@ -25,7 +25,13 @@ namespace Bit.EventsProcessor public void ConfigureServices(IServiceCollection services) { + // Options services.AddOptions(); + + // Settings + var globalSettings = services.AddGlobalSettingsServices(Configuration); + + // Hosted Services services.AddHostedService(); }