зеркало из https://github.com/mozilla/fxa.git
Merge pull request #16126 from mozilla/update-contentful-manager-check
fix(auth): skip contentful if manager not set
This commit is contained in:
Коммит
8a695720fa
|
@ -232,7 +232,9 @@ export class StripeHelper extends StripeHelperBase {
|
|||
this.webhookSecret = config.subscriptions.stripeWebhookSecret;
|
||||
this.taxIds = config.subscriptions.taxIds;
|
||||
this.currencyHelper = Container.get(CurrencyHelper);
|
||||
if (Container.has(ContentfulManager)) {
|
||||
this.contentfulManager = Container.get(ContentfulManager);
|
||||
}
|
||||
|
||||
// Initializes caching
|
||||
this.initRedis();
|
||||
|
|
Загрузка…
Ссылка в новой задаче