From 7a3677056a7ba9ef58f3c21099e9665c41f9a04b Mon Sep 17 00:00:00 2001 From: devops-github-rudderstack <88187154+devops-github-rudderstack@users.noreply.github.com> Date: Wed, 6 Sep 2023 12:49:59 -0500 Subject: [PATCH] chore(release): pull hotfix-release/v1.40.2 into main (#2560) * fix: marketo bulk upload import issue (#2559) * chore(release): 1.40.2 --------- Co-authored-by: shrouti1507 <60211312+shrouti1507@users.noreply.github.com> Co-authored-by: GitHub Actions --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- src/v0/destinations/marketo_bulk_upload/fileUpload.js | 5 +++-- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1da774dc3e..552026d41b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [1.40.2](https://github.com/rudderlabs/rudder-transformer/compare/v1.40.1...v1.40.2) (2023-09-06) + + +### Bug Fixes + +* marketo bulk upload import issue ([#2559](https://github.com/rudderlabs/rudder-transformer/issues/2559)) ([752f351](https://github.com/rudderlabs/rudder-transformer/commit/752f351f02b7f7611c702d7dbcb4804972bb0970)) + ### [1.40.1](https://github.com/rudderlabs/rudder-transformer/compare/v1.40.0...v1.40.1) (2023-09-06) diff --git a/package-lock.json b/package-lock.json index 580253c4da..9372b3add9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-transformer", - "version": "1.40.1", + "version": "1.40.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-transformer", - "version": "1.40.1", + "version": "1.40.2", "license": "ISC", "dependencies": { "@amplitude/ua-parser-js": "^0.7.24", diff --git a/package.json b/package.json index 34cb1b4feb..aecf5d581e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-transformer", - "version": "1.40.1", + "version": "1.40.2", "description": "", "homepage": "https://github.com/rudderlabs/rudder-transformer#readme", "bugs": { diff --git a/src/v0/destinations/marketo_bulk_upload/fileUpload.js b/src/v0/destinations/marketo_bulk_upload/fileUpload.js index 40b3c64a20..2c77cd6e29 100644 --- a/src/v0/destinations/marketo_bulk_upload/fileUpload.js +++ b/src/v0/destinations/marketo_bulk_upload/fileUpload.js @@ -6,8 +6,9 @@ const { getMarketoFilePath, handleFileUploadResponse, getFieldSchemaMap, + hydrateStatusForServer, } = require('./util'); -const { isHttpStatusSuccess, hydrateStatusForServer } = require('../../util'); +const { isHttpStatusSuccess } = require('../../util'); const { MARKETO_FILE_SIZE, UPLOAD_FILE } = require('./config'); const { getHashFromArray, @@ -249,7 +250,7 @@ const responseHandler = async (input, config) => { const response = { statusCode: 200, importId, - metadata + metadata, }; return response; }