0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Passed MemberProductEvent model to @tryghost/members-api

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

The @tryghost/members-api module needs access to this model in order to
create events when members access to products are updated.
This commit is contained in:
Fabien O'Carroll 2021-08-23 14:11:13 +02:00
parent 55f249a328
commit a6bfd61986

View file

@ -175,6 +175,7 @@ function createApiInstance(config) {
MemberEmailChangeEvent: models.MemberEmailChangeEvent,
MemberPaymentEvent: models.MemberPaymentEvent,
MemberStatusEvent: models.MemberStatusEvent,
MemberProductEvent: models.MemberProductEvent,
StripeProduct: models.StripeProduct,
StripePrice: models.StripePrice,
Product: models.Product,