From 8ba806667cdf57ba45c19d1a3c7ff8d6b6df7342 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 31 Jan 2023 11:20:05 -0500 Subject: [PATCH] add custom dp services to more projects (#2653) --- src/Billing/Startup.cs | 3 +++ src/Events/Startup.cs | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/Billing/Startup.cs b/src/Billing/Startup.cs index 2ad7d0ce7e..caf2235698 100644 --- a/src/Billing/Startup.cs +++ b/src/Billing/Startup.cs @@ -33,6 +33,9 @@ public class Startup StripeConfiguration.ApiKey = globalSettings.Stripe.ApiKey; StripeConfiguration.MaxNetworkRetries = globalSettings.Stripe.MaxNetworkRetries; + // Data Protection + services.AddCustomDataProtectionServices(Environment, globalSettings); + // Repositories services.AddDatabaseRepositories(globalSettings); diff --git a/src/Events/Startup.cs b/src/Events/Startup.cs index 9aee5425cd..50147fcda5 100644 --- a/src/Events/Startup.cs +++ b/src/Events/Startup.cs @@ -29,6 +29,9 @@ public class Startup // Settings var globalSettings = services.AddGlobalSettingsServices(Configuration, Environment); + // Data Protection + services.AddCustomDataProtectionServices(Environment, globalSettings); + // Repositories services.AddDatabaseRepositories(globalSettings);