Skip to content

Commit a4ac847

Browse files
fix: exclude Report Content Event from trackEvent defaultSubscription to match preset filter
1 parent 32c0de3 commit a4ac847

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

packages/destination-actions/src/destinations/customerio/__tests__/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ describe('customerio presets', () => {
3434
expect(destination.actions.trackEvent.defaultSubscription).toContain('event != "Device Created or Updated"')
3535
expect(destination.actions.trackEvent.defaultSubscription).toContain('event != "Device Deleted"')
3636
expect(destination.actions.trackEvent.defaultSubscription).toContain('event != "Object Deleted"')
37+
expect(destination.actions.trackEvent.defaultSubscription).toContain('event != "Report Content Event"')
3738
})
38-
})

packages/destination-actions/src/destinations/customerio/trackEvent/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const action: ActionDefinition<Settings, Payload> = {
2020
and event != "User Unsuppressed"
2121
and event != "Object Deleted"
2222
and event != "Report Delivery Event"
23+
and event != "Report Content Event"
2324
`,
2425
fields: {
2526
id: {

0 commit comments

Comments
 (0)