0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Added price and product models to members service

refs https://github.com/TryGhost/Team/issues/586

- Passes new Product, Stripe Price and Stripe Product models to members API service
- Allows members service to populate the tables for existing plans and products
This commit is contained in:
Rish 2021-04-12 20:30:59 +05:30 committed by Rishabh Garg
parent 5a659c9ebe
commit 2c0d3b9b37

View file

@ -174,7 +174,10 @@ function createApiInstance(config) {
MemberLoginEvent: models.MemberLoginEvent,
MemberEmailChangeEvent: models.MemberEmailChangeEvent,
MemberPaymentEvent: models.MemberPaymentEvent,
MemberStatusEvent: models.MemberStatusEvent
MemberStatusEvent: models.MemberStatusEvent,
StripeProduct: models.StripeProduct,
StripePrice: models.StripePrice,
Product: models.Product
},
logger: logging
});