Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: cope with pubCommonUids being an empty list #42

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jclgoodwin
Copy link

This fixes an error "TypeError: Cannot read properties of undefined (reading 'uids') at https://cdn.jsdelivr.net/gh/prebid/shared-id/pubcid.js/docs/pubcid.min.js:1:595 ...

@AramZS
Copy link

AramZS commented Aug 16, 2023

Should we also check if uids has length or are we confident that will never be empty if the parent object is not?

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.

3 participants