Skip to content

Customid#339

Open
pm-manasi-moghe wants to merge 6 commits into
refreshuseridfrom
customid
Open

Customid#339
pm-manasi-moghe wants to merge 6 commits into
refreshuseridfrom
customid

Conversation

@pm-manasi-moghe
Copy link
Copy Markdown
Collaborator

No description provided.

pm-manasi-moghe and others added 6 commits January 24, 2022 10:12
* Exposed a function for pubmatic2 alias

* Added logging for "advertiser domain"

* Added extra condition to extract hostname

* Added Aditional check for array length

Co-authored-by: pm-azhar-mulla <azhar@L1119.local>
Co-authored-by: pm-azhar-mulla <75726247+pm-azhar-mulla@users.noreply.github.com>
Comment thread src_new/util.idhub.js
case 'direct':
var emailHash = enableSSO && userIdentity.emailHash ? userIdentity.emailHash : userIdentity.pubProvidedEmailHash ? userIdentity.pubProvidedEmailHash : undefined;
atsObject.emailHashes = emailHash && [emailHash['MD5'], emailHash['SHA1'], emailHash['SHA256']] || undefined;
/* do we want to keep sso data under direct option?
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Codacy has a fix for the issue: Expected indentation of 2 tabs but found 3.

Suggested change
/* do we want to keep sso data under direct option?
/* do we want to keep sso data under direct option?

Comment thread src_new/util.idhub.js
break;
case 'direct':
var emailHash = enableSSO && userIdentity.emailHash ? userIdentity.emailHash : userIdentity.pubProvidedEmailHash ? userIdentity.pubProvidedEmailHash : undefined;
atsObject.emailHashes = emailHash && [emailHash['MD5'], emailHash['SHA1'], emailHash['SHA256']] || undefined;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Codacy has a fix for the issue: Strings must use doublequote.

Suggested change
atsObject.emailHashes = emailHash && [emailHash['MD5'], emailHash['SHA1'], emailHash['SHA256']] || undefined;
atsObject.emailHashes = emailHash && [emailHash["MD5"], emailHash['SHA1'], emailHash['SHA256']] || undefined;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant