1
0
mirror of https://github.com/bitwarden/server synced 2025-12-22 19:23:45 +00:00

add back billing settings

This commit is contained in:
Kyle Spearrin
2017-05-06 09:15:07 -04:00
parent c4293afe57
commit a461aefd69

View File

@@ -29,6 +29,7 @@ namespace Bit.Billing
// Settings // Settings
var globalSettings = services.AddGlobalSettingsServices(Configuration); var globalSettings = services.AddGlobalSettingsServices(Configuration);
services.Configure<BillingSettings>(Configuration.GetSection("BillingSettings"));
// Stripe Billing // Stripe Billing
StripeConfiguration.SetApiKey(globalSettings.StripeApiKey); StripeConfiguration.SetApiKey(globalSettings.StripeApiKey);