Skip to content

Commit

Permalink
Merge pull request cyruzzo#2838 from Azmoria/Internal---adjust-ddb-ap…
Browse files Browse the repository at this point in the history
…i-request-so-it-doesn't-bot-detect-when-dev-tools-are-open

Internal - adjust ddb api request so it doesn't bot detect when dev tools are open
  • Loading branch information
Azmoria authored Jan 21, 2025
2 parents d8e9a6d + 3f0ca81 commit 8a93b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DDBApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ class DDBApi {
if(window.ddbConfigJson != undefined)
return window.ddbConfigJson
const url = "https://www.dndbeyond.com/api/config/json";
return await $.get(url);
return await DDBApi.fetchJsonWithTokenOmitCred(url);
}

static async fetchActiveCharacters(campaignId) {
Expand Down

0 comments on commit 8a93b82

Please sign in to comment.