From 41717a53a0c7d4c8208edbf090571b4484cacb41 Mon Sep 17 00:00:00 2001 From: Rishabh Date: Mon, 19 Jul 2021 18:19:17 +0530 Subject: [PATCH] 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 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 724b288372..6ad6aab3cd 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/yarn.lock b/yarn.lock index 8789b9d89d..362b4653e5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"