Skip to content

Commit

Permalink
update deepl translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Alza committed Jul 9, 2024
1 parent f2e5d0e commit 4d81778
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const translateWithDeepl = (text, targetLang, sourceLang, type) => {
response.data.translations.forEach(translation => {
texts.push(translation.text)
})
return texts
return texts.toString();
})
.catch((error) => {
console.error(error)
Expand Down

0 comments on commit 4d81778

Please sign in to comment.