Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: added logs
Browse files Browse the repository at this point in the history
sandeepdsvs committed Aug 22, 2024
1 parent 75dab29 commit 018bf23
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/v0/destinations/fb_custom_audience/recordTransform.js
Original file line number Diff line number Diff line change
@@ -21,6 +21,7 @@ const {
responseBuilderSimple,
getDataSource,
} = require('./util');
const logger = require('../../../logger');

const processRecordEventArray = (
recordChunksArray,
@@ -116,6 +117,8 @@ async function processRecordInputs(groupedRecordInputs) {
}

// audience id validation
logger.debug('Connection_object', JSON.stringify(connection));
logger.debug('Event_object', JSON.stringify(message));
let operationAudienceId = audienceId;
const mappedToDestination = get(message, MappedToDestinationKey);
if (mappedToDestination) {

0 comments on commit 018bf23

Please sign in to comment.