From efb4e107367245e5617e1fc3c5b6bac831a50576 Mon Sep 17 00:00:00 2001 From: Sabina Rosca Date: Sun, 9 Jun 2024 17:40:29 +0300 Subject: [PATCH] Fixed DI registration for MongoAlterationPlanStore --- src/modules/Elsa.MongoDb/Modules/Alterations/Feature.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/Elsa.MongoDb/Modules/Alterations/Feature.cs b/src/modules/Elsa.MongoDb/Modules/Alterations/Feature.cs index 4a093c688b..95c29c52c6 100644 --- a/src/modules/Elsa.MongoDb/Modules/Alterations/Feature.cs +++ b/src/modules/Elsa.MongoDb/Modules/Alterations/Feature.cs @@ -3,6 +3,7 @@ using Elsa.Features.Attributes; using Elsa.Features.Services; using Elsa.MongoDb.Common; +using Elsa.MongoDb.Modules.Alterations.Documents; using Microsoft.Extensions.DependencyInjection; namespace Elsa.MongoDb.Modules.Alterations; @@ -23,7 +24,10 @@ public override void Apply() { base.Apply(); + AddCollection("alteration_plans"); AddCollection("alteration_jobs"); + + AddStore(); AddStore(); Services.AddHostedService();