Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/core/prebid/rtd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,8 @@ function handleRtd(

routes.forEach((route) => {
eidsPerRoute[route] = eidsPerRoute[route] ?? { user: { ext: { eids: [] } } };
eidsPerRoute[route].user!.ext!.eids!.push(eid);
const { _ref, ...clean } = eid as any;
eidsPerRoute[route].user!.ext!.eids!.push(clean);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we not set eid now to clean to avoid confusion later in the code? And keep ref seperate to be referenced if we need it later.

config.log("info", `EID with source ${eid.source} routed to ${route}`);
});
processedEids += 1;
Expand Down
Loading