Skip to content

Commit

Permalink
#1692: code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernBerkefeld committed Sep 11, 2024
1 parent fc9ac6f commit e316bc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion @types/lib/metadataTypes/Event.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/metadataTypes/Event.js
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@ class Event extends MetadataType {
const dePrefixFields = {};
const dePrefixRelationshipMap = {};
const dePrefixReferenceObjectMap = {};
// SFMC only uses "Common" to aggreagate Contacts and Leads if that was actively selected in the entry event. Also, already published journeys/events continue to work even if fields would later be changed, leading to a shift from or to the "common" fake-object.
const checkCommon =
ca.whoToInject === 'Contact ID/Lead ID (Contacts and Leads)' && !isPublished;
for (const object of edcObjects) {
Expand Down

0 comments on commit e316bc5

Please sign in to comment.