Skip to content

Commit

Permalink
init as empty object (prebid#4017)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaiminpanchal27 authored and leonardlabat committed Jul 30, 2019
1 parent c7b1297 commit 0375845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dfpAdServerVideo.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export function buildAdpodVideoUrl({code, params, callback} = {}) {
[adpodUtils.TARGETING_KEY_PB_CAT_DUR]: undefined,
[adpodUtils.TARGETING_KEY_CACHE_ID]: undefined
}
let customParams;
let customParams = {};
if (targeting[code]) {
customParams = targeting[code].reduce((acc, curValue) => {
if (Object.keys(curValue)[0] === adpodUtils.TARGETING_KEY_PB_CAT_DUR) {
Expand Down

0 comments on commit 0375845

Please sign in to comment.