mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Added labels/products data to members identity
refs https://github.com/TryGhost/Team/issues/909
refs 3e13a6c562
`labels` and `products` data on member is needed for content gating post access for new segmented access
This commit is contained in:
parent
45ba046ad5
commit
e28a19178d
1 changed files with 3 additions and 1 deletions
|
@ -269,7 +269,9 @@ module.exports = function MembersAPI({
|
|||
const model = await users.get({email}, {
|
||||
withRelated: [
|
||||
'stripeSubscriptions',
|
||||
'stripeSubscriptions.stripePrice'
|
||||
'stripeSubscriptions.stripePrice',
|
||||
'labels',
|
||||
'products'
|
||||
]
|
||||
});
|
||||
if (!model) {
|
||||
|
|
Loading…
Add table
Reference in a new issue