Fixed webhook handler when Stripe is not connected

no-issue

The webhook handler did not correctly check for whether or not Stripe
was connected, and would attempt to handle webhooks anyway, resulting in
errors due to missing Stripe config. This fixes the handler to exit
early.
This commit is contained in:
Fabien O'Carroll 2021-09-08 12:41:20 +02:00
parent d897942af7
commit 07e595b9aa
2 changed files with 5 additions and 5 deletions

View File

@ -73,7 +73,7 @@
"@tryghost/limit-service": "0.6.1",
"@tryghost/logging": "0.1.6",
"@tryghost/magic-link": "1.0.11",
"@tryghost/members-api": "1.32.0",
"@tryghost/members-api": "1.32.1",
"@tryghost/members-csv": "1.1.6",
"@tryghost/members-importer": "0.3.2",
"@tryghost/members-ssr": "1.0.12",

View File

@ -921,10 +921,10 @@
jsonwebtoken "^8.5.1"
lodash "^4.17.15"
"@tryghost/members-api@1.32.0":
version "1.32.0"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-1.32.0.tgz#638c95df7a867197240846678a6d986019484b01"
integrity sha512-J9Zv7WZUEEq6Jo2cnABJwg32FPzr56Ukcyf78+HVyYDE3dSOLhXNsSCyt89ZRDEvDm0q+Vjyi/TJmpxX8XxP7w==
"@tryghost/members-api@1.32.1":
version "1.32.1"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-1.32.1.tgz#a890c8f2f2ae92d7d43437e52cb14dd6ae194732"
integrity sha512-1ox59JG6RCa+BZpuJQtfPjddIMQnodAfD2/nm8MvMsEVrUMtiu9BeH6yihJATroCwoqCvNJWGhG2/1t/FubGkw==
dependencies:
"@tryghost/debug" "^0.1.2"
"@tryghost/errors" "^0.2.9"