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

Fixed migration to avoid incorrect default prices

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

- cleans up the stripe migration to add default monthly/yearly prices for sites, which had a possibility of using complimentary (0 amount prices) in edge cases
- adds missing return in the same migration for an unlikely failure to parse stripe plans
This commit is contained in:
Rishabh 2021-07-19 18:19:17 +05:30
parent dbf6c783a5
commit 41717a53a0
2 changed files with 5 additions and 5 deletions

View file

@ -71,7 +71,7 @@
"@tryghost/limit-service": "0.6.1",
"@tryghost/logging": "0.1.4",
"@tryghost/magic-link": "1.0.7",
"@tryghost/members-api": "1.20.3",
"@tryghost/members-api": "1.21.0",
"@tryghost/members-csv": "1.1.2",
"@tryghost/members-ssr": "1.0.7",
"@tryghost/mw-session-from-token": "0.1.22",

View file

@ -891,10 +891,10 @@
jsonwebtoken "^8.5.1"
lodash "^4.17.15"
"@tryghost/members-api@1.20.3":
version "1.20.3"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-1.20.3.tgz#5b711e65fbdc056c6113a88174370535c833937d"
integrity sha512-FUTrCzNyq8BiCUsJmLHbPMB0IIC518ocCxN/eLGfILDOAq5/ya+3LMc72KdJYeQTk5aASlHd9As7bwbBRmA5/A==
"@tryghost/members-api@1.21.0":
version "1.21.0"
resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-1.21.0.tgz#e16494c8659d17d76cf6cd4dd6448d50a19251f3"
integrity sha512-1cozYWkcZiDxNT/0vDYhVwfBuJyNJ/7iKqbDp/KgbO4bjyC89LfhznTKBDoEGEaMgNZMr+t7qYxT6rNIqPDSaw==
dependencies:
"@tryghost/debug" "^0.1.2"
"@tryghost/errors" "^0.2.9"