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 = {
text: [text],
target_lang: to,
split_sentences: "0",
// split_sentences: "0",
};
if (from) {
data.source_lang = from;