Skip to content

Commit

Permalink
chore: change default value of apiVersion to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
mihir-4116 committed Jan 25, 2024
1 parent 3522b58 commit e2133fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/cdk/v2/destinations/intercom/procWorkflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ steps:
- name: apiVersion
template: |
const version = $.isDefinedAndNotNull(.destination.Config.apiVersion) ? .destination.Config.apiVersion : "1.4";
const version = $.isDefinedAndNotNull(.destination.Config.apiVersion) ? .destination.Config.apiVersion : "latest";
version;
- name: rEtlPayload
Expand Down
2 changes: 2 additions & 0 deletions test/integrations/destinations/intercom/processor/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3485,6 +3485,7 @@ export const data = [
},
Config: {
apiKey: 'abcd=',
apiVersion: '1.4',
appId: 'asdasdasd',
collectContext: false,
},
Expand Down Expand Up @@ -3631,6 +3632,7 @@ export const data = [
Config: {
apiKey: 'abcd=',
appId: 'asdasdasd',
apiVersion: '1.4',
collectContext: false,
sendAnonymousId: true,
},
Expand Down

0 comments on commit e2133fa

Please sign in to comment.