From ea05e52a144e30b40a66298ff2d062c81fc9a2ea Mon Sep 17 00:00:00 2001 From: Andrew Youn <52907065+ay0503@users.noreply.github.com> Date: Fri, 15 Nov 2024 07:31:29 -0500 Subject: [PATCH] Temp remove translate. --- src/posts/create.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/posts/create.js b/src/posts/create.js index 7dddfe7ede..f1cf4d14c3 100644 --- a/src/posts/create.js +++ b/src/posts/create.js @@ -20,7 +20,7 @@ module.exports = function (Posts) { const content = data.content.toString(); const timestamp = data.timestamp || Date.now(); const isMain = data.isMain || false; - const [isEnglish, translatedContent] = await translate.translate(data); + // const [isEnglish, translatedContent] = await translate.translate(data); if (!uid && parseInt(uid, 10) !== 0) { throw new Error('[[error:invalid-uid]]');