0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Passed MemberSubscribeEvent to members-api

refs https://github.com/TryGhost/Ghost/issues/12602

This allows the Members module to create MemberSubscribeEvents when
appropriate
This commit is contained in:
Fabien O'Carroll 2021-02-04 09:29:04 +00:00 committed by Fabien 'egg' O'Carroll
parent 5aab41931f
commit 3dbc7ef5b4

View file

@ -168,7 +168,8 @@ function createApiInstance(config) {
},
StripeCustomer: models.MemberStripeCustomer,
StripeCustomerSubscription: models.StripeCustomerSubscription,
Member: models.Member
Member: models.Member,
MemberSubscribeEvent: models.MemberSubscribeEvent
},
logger: logging
});