Skip to content

Commit

Permalink
Cleaned up
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinLopez14 committed Apr 15, 2024
1 parent c4cd7ce commit 1c8bf29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions modules/stroeerCoreBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,10 @@ export const spec = {
utils.deepSetValue(commonPayload, DSA_KEY, dsa);
}

const COOKIE_DEPRECATION_LABEL_KEY = 'ortb2.device.ext.cdep'
const cdep = utils.deepAccess(bidderRequest, COOKIE_DEPRECATION_LABEL_KEY)
const COOKIE_DEPRECATION_LABEL_KEY = 'ortb2.device.ext.cdep';
const cdep = utils.deepAccess(bidderRequest, COOKIE_DEPRECATION_LABEL_KEY);
if (cdep) {
utils.deepSetValue(commonPayload, COOKIE_DEPRECATION_LABEL_KEY, cdep)
utils.deepSetValue(commonPayload, COOKIE_DEPRECATION_LABEL_KEY, cdep);
}

const serverRequestInfos = [];
Expand Down
4 changes: 2 additions & 2 deletions test/spec/modules/stroeerCoreBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1244,13 +1244,13 @@ describe('stroeerCore bid adapter', function () {

const cDepObj = {
cdep: 'example_label_1'
}
};

const ortb2 = {
device: {
ext: cDepObj
}
}
};

bidReq.ortb2 = utils.deepClone(ortb2);

Expand Down

0 comments on commit 1c8bf29

Please sign in to comment.