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

Passed MemberAnalyticEvent to @tryghost/members-api

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

We use the models defined in Ghost as our database connection to store
the analytic events. So we must pass this down to the Members module so
that we can store the events
This commit is contained in:
Fabien O'Carroll 2021-09-21 11:42:05 +02:00
parent 7c1192fc20
commit c1c969238f

View file

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