fix deepl bug: remove split_sentences param
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user