fix deepl bug: remove split_sentences param

This commit is contained in:
Gabe Yuan
2023-10-16 16:16:33 +08:00
parent fb2b517a67
commit f88aa159fc

View File

@@ -132,7 +132,7 @@ const apiDeepLTranslate = async (
const data = { const data = {
text: [text], text: [text],
target_lang: to, target_lang: to,
split_sentences: "0", // split_sentences: "0",
}; };
if (from) { if (from) {
data.source_lang = from; data.source_lang = from;