Set default Tier name to Site Title

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

The default Tier name is "Default Product" - this adds a check on
startup for this name, and will update it to the site title. This is so
that when Tiers is enabled, the user is presented with an expected value
for the Tier name.
This commit is contained in:
Fabien "egg" O'Carroll 2022-02-01 13:18:20 +02:00
parent 0040b6a441
commit db7ca3dedf
2 changed files with 12 additions and 2 deletions

View File

@ -84,7 +84,7 @@
"@tryghost/members-importer": "0.5.0",
"@tryghost/members-offers": "0.10.6",
"@tryghost/members-ssr": "1.0.19",
"@tryghost/members-stripe-service": "0.6.7",
"@tryghost/members-stripe-service": "0.7.0",
"@tryghost/metrics": "1.0.3",
"@tryghost/minifier": "0.1.10",
"@tryghost/mw-error-handler": "0.1.2",

View File

@ -1629,7 +1629,17 @@
jsonwebtoken "^8.5.1"
lodash "^4.17.11"
"@tryghost/members-stripe-service@0.6.7", "@tryghost/members-stripe-service@^0.6.7":
"@tryghost/members-stripe-service@0.7.0":
version "0.7.0"
resolved "https://registry.yarnpkg.com/@tryghost/members-stripe-service/-/members-stripe-service-0.7.0.tgz#3e75d3fa554740ce639a4feda769a5563ae71ccf"
integrity sha512-jBf56kG6vgBwTkA3wC2yIFblDPJ1J9D2iL3FUeyA1EOo6u5SYJixJu9y2xnAVD12rujzzuOx2A4vABTAPrcEfw==
dependencies:
"@tryghost/debug" "^0.1.4"
"@tryghost/errors" "1.2.0"
leaky-bucket "^2.2.0"
stripe "^8.174.0"
"@tryghost/members-stripe-service@^0.6.7":
version "0.6.7"
resolved "https://registry.yarnpkg.com/@tryghost/members-stripe-service/-/members-stripe-service-0.6.7.tgz#44ad067c5b245a9475e673476998a51d59cc5480"
integrity sha512-SRTEl1HyRHodBduoxQtaUTFGTUhgS+Rm3UGuZVHVDVivHS2Am23CtUEMn45Bhrx7MvBP0m06tIqo5t4EeAPb3g==