diff --git a/src/cdk/v2/destinations/bluecore/utils.js b/src/cdk/v2/destinations/bluecore/utils.js index ba1316d533..311dfa1bbb 100644 --- a/src/cdk/v2/destinations/bluecore/utils.js +++ b/src/cdk/v2/destinations/bluecore/utils.js @@ -26,8 +26,8 @@ const { MAPPING_CONFIG, CONFIG_CATEGORIES } = require('./config'); const verifyPayload = (payload, message) => { if ( message.type === EventType.IDENTIFY && - isDefinedNotNullNotEmpty(message?.traits?.action) && - message?.traits?.action !== 'identify' + isDefinedNotNullNotEmpty(message.traits?.action) && + message.traits?.action !== 'identify' ) { throw new InstrumentationError( "[Bluecore] traits.action must be 'identify' for identify action",