-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CM-1664 - Adjust the analytics adapter #49
base: master
Are you sure you want to change the base?
Conversation
Tread carefully! This PR adds 1 linter error (possibly disabled through directives):
|
Tread carefully! This PR adds 13 linter errors (possibly disabled through directives):
|
Tread carefully! This PR adds 12 linter errors (possibly disabled through directives):
|
Tread carefully! This PR adds 12 linter errors (possibly disabled through directives):
|
Tread carefully! This PR adds 13 linter errors (possibly disabled through directives):
|
Tread carefully! This PR adds 1 linter error (possibly disabled through directives):
|
} | ||
|
||
function ignoreUndefined(data) { | ||
const filteredData = Object.entries(data).filter(([key, value]) => value) | ||
return Object.fromEntries(filteredData) | ||
const filteredData = Object.entries(data).filter(([key, value]) => value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can Object.entries(data)
be undefined with the new setting?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I can see, there is not way for it to be undefined.
…#50) * add treatmentRate setup in externalIdSystem and test it * comment
Adjust adapter test
Co-authored-by: PeiZ <[email protected]>
Co-authored-by: PeiZ <[email protected]>
@peixunzhang Thank you for adjusting the parameter names in the tests 👍 |
Co-authored-by: PeiZ <[email protected]>
Tread carefully! This PR adds 2 linter errors (possibly disabled through directives):
|
Tread carefully! This PR adds 2 linter errors (possibly disabled through directives):
|
https://liveintent.atlassian.net/browse/CM-1664
Related PRs: