From ab7758b1d463d460e268a1679a4c76bf3363a428 Mon Sep 17 00:00:00 2001 From: bosco-ensemble Date: Wed, 17 Apr 2024 09:54:48 -0700 Subject: [PATCH] TDW-2409 lint fix --- blocks/marketing/marketing.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/blocks/marketing/marketing.js b/blocks/marketing/marketing.js index 9484c18..ca5116f 100644 --- a/blocks/marketing/marketing.js +++ b/blocks/marketing/marketing.js @@ -82,14 +82,14 @@ export default async function decorate(block) { } } else { window.tude.setFeatureFlags({ injectAds: false }); - const ad_test = new URLSearchParams(window.location.search).get('ad_test'); - if(ad_test) { + const adTest = new URLSearchParams(window.location.search).get('ad_test'); + if (adTest) { window.tude.refreshAdsViaDivMappings([{ divId: slot, baseDivId: slot, targeting: { - ad_test: ad_test - } + ad_test: adTest, + }, }]); } else { window.tude.refreshAdsViaDivMappings([{