From e01bceff97d48de2d475194ea0372605ffbb82c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Fri, 22 Dec 2023 19:58:55 -0500 Subject: [PATCH] remove body short from subject --- src/categories/topics.js | 1 - src/topics/tags.js | 1 - 2 files changed, 2 deletions(-) diff --git a/src/categories/topics.js b/src/categories/topics.js index a8396a4ab2..64248890c0 100644 --- a/src/categories/topics.js +++ b/src/categories/topics.js @@ -236,7 +236,6 @@ module.exports = function (Categories) { const notification = await notifications.create({ type: 'new-topic-in-category', nid: `new_topic:tid:${postData.topic.tid}:uid:${exceptUid}`, - subject: bodyShort, bodyShort: bodyShort, bodyLong: postData.content, pid: postData.pid, diff --git a/src/topics/tags.js b/src/topics/tags.js index 2df6701171..6cbe54b646 100644 --- a/src/topics/tags.js +++ b/src/topics/tags.js @@ -620,7 +620,6 @@ module.exports = function (Topics) { const notification = await notifications.create({ type: 'new-topic-with-tag', nid: `new_topic:tid:${postData.topic.tid}:uid:${exceptUid}`, - subject: bodyShort, bodyShort: bodyShort, bodyLong: postData.content, pid: postData.pid,