-
Notifications
You must be signed in to change notification settings - Fork 252
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
[STRATCONN-4294] | Add MultiStatusResponse to AddProfileToList of Klaviyo. #2526
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2526 +/- ##
==========================================
+ Coverage 78.41% 78.43% +0.02%
==========================================
Files 1030 1030
Lines 18315 18343 +28
Branches 3469 3472 +3
==========================================
+ Hits 14362 14388 +26
+ Misses 2800 2799 -1
- Partials 1153 1156 +3 ☔ View full report in Codecov by Sentry. |
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.
Looks good. Left a few questions/comments
packages/destination-actions/src/destinations/klaviyo/properties.ts
Outdated
Show resolved
Hide resolved
packages/destination-actions/src/destinations/klaviyo/functions.ts
Outdated
Show resolved
Hide resolved
packages/destination-actions/src/destinations/klaviyo/__tests__/multistatus.test.ts
Show resolved
Hide resolved
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.
LGTM! ✨
multiStatusResponse.setSuccessResponseAtIndex(validPayloadIndicesBitmap[index], { | ||
status: 200, | ||
sent: payload, | ||
body: JSON.stringify(response?.data) |
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.
nit: Why do we have to Stringify? Could we directly set response?.data
?
PR deployed |
Jira ticket
This pull request aims to add multiStatusResponse batch support for the AddProfileToList action of Klaviyo(Actions).
Local & Stage Testing Documentation
Testing
Include any additional information about the testing you have completed to
ensure your changes behave as expected. For a speedy review, please check
any of the tasks you completed below during your testing.