From d9181dee5a293f43b5051c162aea9d053176ea5a Mon Sep 17 00:00:00 2001 From: aszydlo Date: Wed, 7 Jan 2026 20:55:00 +0100 Subject: [PATCH] DAS Adapter: simplify redundant boolean cast MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Simplify \!(!!data.ext?.adbeta) to \!data.ext?.adbeta. Both expressions are functionally identical, but the simpler form passes ESLint no-extra-boolean-cast rule. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- modules/dasBidAdapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dasBidAdapter.js b/modules/dasBidAdapter.js index 19bcdf66b41..954da2265bb 100644 --- a/modules/dasBidAdapter.js +++ b/modules/dasBidAdapter.js @@ -336,7 +336,7 @@ export const spec = { const fullUrl = `${baseUrl}?data=${encodeURIComponent(jsonData)}`; // adbeta needs credentials omitted to avoid CORS issues, especially in Firefox - const useCredentials = !(!!data.ext?.adbeta); + const useCredentials = !data.ext?.adbeta; // Switch to POST if URL exceeds 8k characters if (fullUrl.length > 8192) {