0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00

Renamed @member.subscribed to @member.paid

no-issue

To match the content gating terminology
This commit is contained in:
Fabien O'Carroll 2019-10-01 12:51:21 +07:00
parent 10cf9539db
commit d899923210

View file

@ -82,7 +82,7 @@ function updateLocalTemplateOptions(req, res, next) {
email: req.member.email,
name: req.member.name,
subscriptions: req.member.stripe.subscriptions,
subscribed: req.member.stripe.subscriptions.length !== 0
paid: req.member.stripe.subscriptions.length !== 0
} : null;
hbs.updateLocalTemplateOptions(res.locals, _.merge({}, localTemplateOptions, {