Skip to content

Commit

Permalink
Merge pull request #17 from Amsterdam/fix/remove-deepl-logging
Browse files Browse the repository at this point in the history
Remove deepl logging
  • Loading branch information
TerryvanWalen authored Jun 24, 2024
2 parents 253fc38 + fdca2a3 commit 8cf47a4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/cms/lib/modules/openstad-global/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ async function getSupportedLanguages(deeplAuthKey) {
supportedLanguages = cache.get(cacheKeyForLanguages);
}
else if (deeplAuthKey) {
console.log({deeplAuthKey})
try {
const translator = new deepl.Translator(deeplAuthKey, translatorConfig);
await translator.getTargetLanguages().then(response => {
Expand Down Expand Up @@ -69,7 +68,6 @@ async function getSupportedLanguages(deeplAuthKey) {
} else {
console.error({translationError: "Could not fetch languages for the translation widget: Key not set"});
}
console.log("deeplAuthKey")
return supportedLanguages;
}

Expand Down

0 comments on commit 8cf47a4

Please sign in to comment.