0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Restricted archived Offers from being used for Checkout

refs https://github.com/TryGhost/Team/issues/1133

This updates the MembersAPI Checkout Session handling to 403 if an
attempt is made to create a Checkout Session using an archived Offer.
This commit is contained in:
Fabien O'Carroll 2021-10-13 11:23:05 +02:00
parent a441825c3f
commit 7722780539
2 changed files with 5 additions and 5 deletions

View file

@ -79,7 +79,7 @@
"@tryghost/limit-service": "0.6.4",
"@tryghost/logging": "0.1.7",
"@tryghost/magic-link": "1.0.13",
"@tryghost/members-api": "2.2.0",
"@tryghost/members-api": "2.2.1",
"@tryghost/members-csv": "1.1.7",
"@tryghost/members-importer": "0.3.3",
"@tryghost/members-offers": "0.6.0",

View file

@ -1488,10 +1488,10 @@
"@tryghost/domain-events" "^0.1.2"
"@tryghost/member-events" "^0.2.1"
"@tryghost/members-api@2.2.0":
version "2.2.0"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-2.2.0.tgz#58fdad00b42997222fac7a23c601f63bfca75e13"
integrity sha512-gkGvKzCFUHFxcBs/XXDwpkhE1+DQOJlB5CoIBtQEc/NMi/T4kZW+K2SeHxxkHmpUAediFTJFqgF1WDh2THfogw==
"@tryghost/members-api@2.2.1":
version "2.2.1"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-2.2.1.tgz#d40763a8c9602c658cfa294eaafe90b6679c504f"
integrity sha512-Qg27YpXutU7hwI3Nzpac2WNqfmou8tRJwpaC9Oqa1UXL2a1E6h1KCMbDCP7VIv9YaWTp2PLnRWdMURmWk7WhHA==
dependencies:
"@tryghost/debug" "^0.1.2"
"@tryghost/errors" "^0.2.9"