Added tier visibility to portal tier data

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

We are moving away from using portal products/plans settings to visibility property on the tier object.
This commit is contained in:
Rishabh 2022-03-08 11:32:03 +05:30
parent bca0e4ba05
commit 32ff722028

View File

@ -112,6 +112,7 @@ const getPortalProductPrices = async function () {
benefits: product.benefits,
active: product.active,
type: product.type,
visibility: product.visibility,
prices: productPrices
};
}).filter((product) => {