From 07e595b9aa040cb81ee161876880cef83d19cff0 Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Wed, 8 Sep 2021 12:41:20 +0200 Subject: [PATCH] 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. --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 071a2637d6..dfb42f8563 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/yarn.lock b/yarn.lock index 74bbb5197a..3227e02b10 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"