Skip to content

Commit

Permalink
chore: addressed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepdsvs committed Sep 10, 2024
1 parent a5dfc8f commit 9782db9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/v0/destinations/fb_custom_audience/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ const prepareToSendEvents = (
});
return toSendEvents;
};
const processEvent = (message, destination, connection) => {
const processEvent = (event) => {
const { message, destination, connection } = event;
const respList = [];
let toSendEvents = [];
let { userSchema } = destination.Config;
Expand Down Expand Up @@ -249,7 +250,7 @@ const processEvent = (message, destination, connection) => {
return respList;
};

const process = (event) => processEvent(event.message, event.destination, event.connection);
const process = (event) => processEvent(event);

const processRouterDest = async (inputs, reqMetadata) => {
const respList = [];
Expand Down

0 comments on commit 9782db9

Please sign in to comment.