From f88aa159fc0e8732ba7f657188e12f00440a2124 Mon Sep 17 00:00:00 2001 From: Gabe Yuan Date: Mon, 16 Oct 2023 16:16:33 +0800 Subject: [PATCH] fix deepl bug: remove split_sentences param --- src/apis/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apis/index.js b/src/apis/index.js index 502bd28..8f546c4 100644 --- a/src/apis/index.js +++ b/src/apis/index.js @@ -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;