Skip to content

Commit

Permalink
Do not remove email from properties
Browse files Browse the repository at this point in the history
lets keep email in properties
  • Loading branch information
gustavowt committed Mar 7, 2024
1 parent 1f232b7 commit aad24f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/cdk/v2/destinations/koala/procWorkflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions test/integrations/destinations/koala/processor/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export const data = [
sent_at: '2024-01-23T08:35:17.562Z',
message_id: '84e26acc-56a5-4835-8233-591137fca468',
properties: {
email: '[email protected]',
label: 'test',
value: 10,
},
Expand Down

0 comments on commit aad24f3

Please sign in to comment.