Skip to content

Commit

Permalink
Prebid 9: remove USP consent string from consent metadata (prebid#11407)
Browse files Browse the repository at this point in the history
* Update consentHandler.js

* Update consentManagementUsp_spec.js

* Update consentManagementUsp_spec.js
  • Loading branch information
patmmccann authored and f.caspar committed May 14, 2024
1 parent 8db660c commit 6673ea3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/consentHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ class UspConsentHandler extends ConsentHandler {
const consentData = this.getConsentData();
if (consentData && this.generatedTime) {
return {
usp: consentData,
generatedAt: this.generatedTime
};
}
Expand Down
1 change: 0 additions & 1 deletion test/spec/modules/consentManagementUsp_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,6 @@ describe('consentManagement', function () {
sinon.assert.notCalled(utils.logWarn);
sinon.assert.notCalled(utils.logError);

expect(consentMeta.usp).to.equal(testConsentData.uspString);
expect(consentMeta.generatedAt).to.be.above(1644367751709);
});

Expand Down

0 comments on commit 6673ea3

Please sign in to comment.