mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 07:10:33 +00:00
fix: payment link events tracker
This commit is contained in:
@@ -19,11 +19,11 @@ export class PaymentLinkEventsTracker extends EventSubscriber {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public handleTrackInvoicePublicLinkGeneratedEvent({ tenantId }) {
|
public handleTrackInvoicePublicLinkGeneratedEvent = ({ tenantId }) => {
|
||||||
this.posthog.trackEvent({
|
this.posthog.trackEvent({
|
||||||
distinctId: `tenant-${tenantId}`,
|
distinctId: `tenant-${tenantId}`,
|
||||||
event: INVOICE_PAYMENT_LINK_GENERATED,
|
event: INVOICE_PAYMENT_LINK_GENERATED,
|
||||||
properties: {},
|
properties: {},
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user