diff --git a/src/cdk/v2/destinations/koala/procWorkflow.yaml b/src/cdk/v2/destinations/koala/procWorkflow.yaml index 3425ab7c8f6..9ec0202b131 100644 --- a/src/cdk/v2/destinations/koala/procWorkflow.yaml +++ b/src/cdk/v2/destinations/koala/procWorkflow.yaml @@ -38,7 +38,7 @@ steps: condition: $.context.messageType === {{$.EventType.TRACK}} template: | const properties = .message.properties ?? {}; - const koProperties = properties{~['ko_profile_id', 'email']} + const koProperties = properties{~['ko_profile_id']} const basePayload = { ip: .message.context.ip ?? .message.request_ip, email: $.context.email, diff --git a/test/integrations/destinations/koala/processor/data.ts b/test/integrations/destinations/koala/processor/data.ts index ce29ba658db..9c1ea97a776 100644 --- a/test/integrations/destinations/koala/processor/data.ts +++ b/test/integrations/destinations/koala/processor/data.ts @@ -64,6 +64,7 @@ export const data = [ sent_at: '2024-01-23T08:35:17.562Z', message_id: '84e26acc-56a5-4835-8233-591137fca468', properties: { + email: 'johndoe@somemail.com', label: 'test', value: 10, },