Skip to content

Commit

Permalink
Temp remove translate.
Browse files Browse the repository at this point in the history
  • Loading branch information
ay0503 committed Nov 15, 2024
1 parent 5b2cf4a commit ea05e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/posts/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]]');
Expand Down

0 comments on commit ea05e52

Please sign in to comment.