Skip to content

Commit

Permalink
Prebid 9: remove USP consent string from consent metadata (#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 May 7, 2024
1 parent 10d8c88 commit 487d86f
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 487d86f

Please sign in to comment.