From 3eb12f862d9c09ca79250157016cf675904c1a72 Mon Sep 17 00:00:00 2001 From: ujjwal-ab Date: Mon, 6 Nov 2023 09:51:50 +0530 Subject: [PATCH] fix(customerio): convert eventName to string for truncate --- src/v0/destinations/customerio/transform.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/v0/destinations/customerio/transform.js b/src/v0/destinations/customerio/transform.js index 5f953ee2f0..948d7ecf30 100644 --- a/src/v0/destinations/customerio/transform.js +++ b/src/v0/destinations/customerio/transform.js @@ -113,6 +113,7 @@ function processSingleMessage(message, destination) { logger.error(`could not determine type ${messageType}`); throw new InstrumentationError(`could not determine type ${messageType}`); } + evName = evName ? String(evName) : evName; const response = responseBuilder(message, evType, evName, destination, messageType); // replace default domain with EU data center domainc for EU based account