From 801603e3ae3c8d226e20eda6b96677f898d72a13 Mon Sep 17 00:00:00 2001 From: Corey Kress Date: Tue, 21 Jul 2020 13:27:48 -0400 Subject: [PATCH] CAP-1879 - remove unneeded checks --- modules/synacormediaBidAdapter.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/synacormediaBidAdapter.js b/modules/synacormediaBidAdapter.js index 55187df270d..6725f5aff74 100644 --- a/modules/synacormediaBidAdapter.js +++ b/modules/synacormediaBidAdapter.js @@ -87,12 +87,6 @@ export const spec = { // CCPA if (bidderRequest && bidderRequest.uspConsent) { - if (!openRtbBidRequest.regs) { - openRtbBidRequest.regs = {}; - } - if (!openRtbBidRequest.regs.ext) { - openRtbBidRequest.regs.ext = {}; - } deepSetValue(openRtbBidRequest, 'regs.ext.us_privacy', bidderRequest.uspConsent); }