mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Added products as default relation when fetching members
no-issue As subscriptions are a default relation, and we now require products to populate subscriptions for comped members, we need to include products by default when reading members.
This commit is contained in:
parent
0f4e97eae7
commit
ec8dbf2890
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@ module.exports = class MemberBREADService {
|
|||
'stripeSubscriptions',
|
||||
'stripeSubscriptions.customer',
|
||||
'stripeSubscriptions.stripePrice',
|
||||
'stripeSubscriptions.stripePrice.stripeProduct'
|
||||
'stripeSubscriptions.stripePrice.stripeProduct',
|
||||
'products'
|
||||
];
|
||||
|
||||
const withRelated = new Set((options.withRelated || []).concat(defaultWithRelated));
|
||||
|
|
Loading…
Add table
Reference in a new issue