diff --git a/core/frontend/services/themes/middleware.js b/core/frontend/services/themes/middleware.js index 60740089d0..baa5166a61 100644 --- a/core/frontend/services/themes/middleware.js +++ b/core/frontend/services/themes/middleware.js @@ -169,7 +169,7 @@ function updateLocalTemplateOptions(req, res, next) { default_payment_card_last4: sub.default_payment_card_last4 || '****' }); }), - paid: req.member.status === 'paid' + paid: req.member.status !== 'free' } : null; hbs.updateLocalTemplateOptions(res.locals, _.merge({}, localTemplateOptions, { diff --git a/core/server/services/members/utils.js b/core/server/services/members/utils.js index bc9285c99e..3b4c057826 100644 --- a/core/server/services/members/utils.js +++ b/core/server/services/members/utils.js @@ -10,6 +10,6 @@ module.exports.formattedMemberResponse = function formattedMemberResponse(member avatar_image: member.avatar_image, subscribed: !!member.subscribed, subscriptions: member.subscriptions || [], - paid: member.status === 'paid' + paid: member.status !== 'free' }; };