Skip to content

Commit

Permalink
fix: remove successJobs tag from upload in klaviyo bulk (#4898)
Browse files Browse the repository at this point in the history
* fix: remove successJobs tag from upload in klaviyo bulk

* chore: remove redundant response

---------

Co-authored-by: Sudip Paul <67197965+ItsSudip@users.noreply.github.com>
  • Loading branch information
yashasvibajpai and ItsSudip committed Jul 18, 2024
1 parent d857284 commit 118d01a
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,6 @@ func (kbu *KlaviyoBulkUploader) Upload(asyncDestStruct *common.AsyncDestinationS
eventsSuccessStat := stats.Default.NewTaggedStat("success_job_count", stats.CountType, statLabels)

var importIds []string // DelimitedImportIds is : separated importIds
var DelimitedUploadRespErr string

for idx, chunk := range chunks {
combinedPayload := createFinalPayload(chunk, listId)
Expand Down Expand Up @@ -397,11 +396,9 @@ func (kbu *KlaviyoBulkUploader) Upload(asyncDestStruct *common.AsyncDestinationS

return common.AsyncUploadOutput{
ImportingParameters: importParameters,
SucceededJobIDs: successJobs,
FailedJobIDs: failedJobs,
FailedCount: len(failedJobs),
ImportingJobIDs: successJobs,
SuccessResponse: DelimitedUploadRespErr,
DestinationID: destination.ID,
}
}
Expand Down

0 comments on commit 118d01a

Please sign in to comment.