diff --git a/core/server/lib/members/index.js b/core/server/lib/members/index.js index de9d293318..a74f0a565e 100644 --- a/core/server/lib/members/index.js +++ b/core/server/lib/members/index.js @@ -84,7 +84,7 @@ module.exports = function MembersApi({ return users.get({id: signedin}) .then(member => encodeToken({ sub: member.id, - plans: member.subscriptions.map(sub => sub.plan), + plans: member.plans, exp: tokenLength, aud: audience }));