Added free price values to Portal site settings

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

With custom products it's possible to change the name and description of any price. This assumes that people would want to change the same properties of a Free membership, and wires up the values for free membership price settings to Portal site settings API for Portal UI
This commit is contained in:
Rishabh 2021-05-07 22:56:16 +05:30
parent 6106d1fdc4
commit 67ea6c44ef

View File

@ -121,6 +121,8 @@ const getMemberSiteData = async function (req, res) {
name: product.name || '',
description: product.description || ''
},
free_price_name: settingsCache.get('members_free_price_name'),
free_price_description: settingsCache.get('members_free_price_description'),
allow_self_signup: membersService.config.getAllowSelfSignup(),
members_signup_access: settingsCache.get('members_signup_access'),
is_stripe_configured: isStripeConfigured,