diff --git a/src/Services/Marketing/Marketing.API/Marketing.API.csproj b/src/Services/Marketing/Marketing.API/Marketing.API.csproj index bd457104d..64e006409 100644 --- a/src/Services/Marketing/Marketing.API/Marketing.API.csproj +++ b/src/Services/Marketing/Marketing.API/Marketing.API.csproj @@ -30,7 +30,7 @@ - + diff --git a/src/Services/Marketing/Marketing.API/Startup.cs b/src/Services/Marketing/Marketing.API/Startup.cs index 8c1822bec..88e0055d1 100644 --- a/src/Services/Marketing/Marketing.API/Startup.cs +++ b/src/Services/Marketing/Marketing.API/Startup.cs @@ -79,12 +79,7 @@ services.AddCap(options => { - // using MongoDB as the event storage - options.UseMongoDB(configure => - { - configure.DatabaseConnection = Configuration["MongoConnectionString"]; - configure.DatabaseName = Configuration["MongoDatabase"]; - }); + options.UseInMemoryStorage(); if (Configuration.GetValue("AzureServiceBusEnabled")) {