From aa555944ae8cd5b0bdacf661a9f252693cbbb0b3 Mon Sep 17 00:00:00 2001 From: Mikhail Kuznetsov Date: Fri, 5 Jul 2024 16:26:31 +1000 Subject: [PATCH] fix(generatroTemplates): fix distributor --- PARR.GeneratorTemplatesWorker/Program.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PARR.GeneratorTemplatesWorker/Program.cs b/PARR.GeneratorTemplatesWorker/Program.cs index 83bc1129..51b7b729 100644 --- a/PARR.GeneratorTemplatesWorker/Program.cs +++ b/PARR.GeneratorTemplatesWorker/Program.cs @@ -2,6 +2,7 @@ using Elastic.CommonSchema.Serilog; using PARR.GeneratorTemplates; using PARR.GeneratorTemplatesWorker; using Serilog; +using PARR.TemplateDistributor; var builder = Host.CreateApplicationBuilder(); @@ -24,6 +25,7 @@ builder.Services.AddLogging(config => builder.Services.InstallGeneratorTemplateServices(builder.Configuration); builder.Configuration.AddGeneratorTemplateConfigurations(builder.Services); builder.Services.AddGeneratorTemplateSettings(builder.Configuration); +builder.Services.InstallTemplateDistributorSerivces(builder.Configuration); builder.Services.AddHostedService();