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

🐛 Added the missing payment_event event in getEventTimeline

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

- The function querying for this event type was simply never called.
This commit is contained in:
Thibaut Patel 2022-02-01 11:14:48 +01:00
parent d47b178b42
commit da22b31302

View file

@ -349,6 +349,7 @@ module.exports = class EventRepository {
{type: 'newsletter_event', action: 'getNewsletterSubscriptionEvents'},
{type: 'subscription_event', action: 'getSubscriptionEvents'},
{type: 'login_event', action: 'getLoginEvents'},
{type: 'payment_event', action: 'getPaymentEvents'},
{type: 'signup_event', action: 'getSignupEvents'}
];
if (this._labsService.isSet('membersActivityFeed') && this._EmailRecipient) {