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

vendorConsents's purposeConsents only works for single vendor? #135

Open
epikhighs opened this issue Jun 26, 2019 · 0 comments
Open

vendorConsents's purposeConsents only works for single vendor? #135

epikhighs opened this issue Jun 26, 2019 · 0 comments

Comments

@epikhighs
Copy link

Why are there no purposeConsents for each vendor in the vendorConsents?
The purposeConsents has only 1 set of purpose consents.

window.__cmp('getVendorConsents', [1, 12], function(result) {
	console.log(result);
	/*
	// result
	purposeConsents: {1: false, 2: false, 3: false, 4: false, 5: false}
	vendorConsents: {12: false, 1234: false}

	if there are multiple vendor IDs why is there only one set of
        purposeConsent for multiple vendors?
	*/
});

Should purposeConsents look something like:

	purposeConsents: {
		1: {1: false, 2: false, 3: false, 4: false, 5: false},
		12: {1: false, 2: false, 3: false, 4: false, 5: false},
	}

so you can tell which purposes are enabled for which vendor
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

No branches or pull requests

1 participant