Skip to content

Commit

Permalink
remove body short from subject
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Feb 8, 2024
1 parent 5fec8b2 commit e01bcef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/categories/topics.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion src/topics/tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e01bcef

Please sign in to comment.