From 553003192a1492220e3930c6b6f2dd11ebac1bcb Mon Sep 17 00:00:00 2001 From: mihir-4116 Date: Mon, 23 Oct 2023 17:23:28 +0530 Subject: [PATCH] fix(hubspot): property mismatch --- src/v0/destinations/hs/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v0/destinations/hs/util.js b/src/v0/destinations/hs/util.js index 5d7a01da74..31c4252a4b 100644 --- a/src/v0/destinations/hs/util.js +++ b/src/v0/destinations/hs/util.js @@ -605,7 +605,7 @@ const splitEventsForCreateUpdate = async (inputs, destination) => { const { destinationExternalId } = getDestinationExternalIDInfoForRetl(message, DESTINATION); const filteredInfo = updateHubspotIds.filter( - (update) => update.property.toString() === destinationExternalId.toString(), + (update) => update.property.toString().toLowerCase() === destinationExternalId.toString().toLowerCase(), ); if (filteredInfo.length > 0) {