Skip to content

Commit

Permalink
change externalUid to camelcase (prebid#3757)
Browse files Browse the repository at this point in the history
  • Loading branch information
sumit116 authored and Alex committed Aug 1, 2019
1 parent d7c9e4d commit 80f32d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/appnexusBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const BIDDER_CODE = 'appnexus';
const URL = '//ib.adnxs.com/ut/v3/prebid';
const VIDEO_TARGETING = ['id', 'mimes', 'minduration', 'maxduration',
'startdelay', 'skippable', 'playback_method', 'frameworks'];
const USER_PARAMS = ['age', 'external_uid', 'segments', 'gender', 'dnt', 'language'];
const USER_PARAMS = ['age', 'externalUid', 'segments', 'gender', 'dnt', 'language'];
const APP_DEVICE_PARAMS = ['geo', 'device_id']; // appid is collected separately
const DEBUG_PARAMS = ['enabled', 'dongle', 'member_id', 'debug_timeout'];
const NATIVE_MAPPING = {
Expand Down
4 changes: 2 additions & 2 deletions test/spec/modules/appnexusBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ describe('AppNexusAdapter', function () {
params: {
placementId: '10433394',
user: {
external_uid: '123',
externalUid: '123',
foobar: 'invalid'
}
}
Expand All @@ -169,7 +169,7 @@ describe('AppNexusAdapter', function () {

expect(payload.user).to.exist;
expect(payload.user).to.deep.equal({
external_uid: '123',
externalUid: '123',
});
});

Expand Down

0 comments on commit 80f32d3

Please sign in to comment.