Skip to content

Commit b1e555e

Browse files
authored
Fix Double Stringify (#3463)
1 parent a7a6f41 commit b1e555e

File tree

1 file changed

+2
-2
lines changed
  • packages/destination-actions/src/destinations/the-trade-desk-crm

1 file changed

+2
-2
lines changed

packages/destination-actions/src/destinations/the-trade-desk-crm/awsClient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ export const sendEventToAWS = async (input: SendToAWSRequest) => {
4343
const metadataFilePath = `${ACTION_SLUG}/${input.AdvertiserId}/${input.CrmDataId}/meta.json`
4444

4545
// Create Metadata
46-
const metadata = JSON.stringify({
46+
const metadata = {
4747
TDDAuthToken: input.TDDAuthToken,
4848
AdvertiserId: input.AdvertiserId,
4949
CrmDataId: input.CrmDataId,
5050
DropOptions: input.DropOptions,
5151
RequeueCount: 0
52-
} as TTDEventPayload)
52+
} as TTDEventPayload
5353

5454
// Get S3 Client for Outbound Controller
5555
const s3Client = getS3Client('integrationsOutboundController')

0 commit comments

Comments
 (0)