mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: tag notification if pid is not int
This commit is contained in:
@@ -624,7 +624,7 @@ module.exports = function (Topics) {
|
|||||||
bodyShort: bodyShort,
|
bodyShort: bodyShort,
|
||||||
bodyLong: postData.content,
|
bodyLong: postData.content,
|
||||||
pid: postData.pid,
|
pid: postData.pid,
|
||||||
path: `/post/${postData.pid}`,
|
path: `/post/${encodeURIComponent(postData.pid)}`,
|
||||||
tid: postData.topic.tid,
|
tid: postData.topic.tid,
|
||||||
from: exceptUid,
|
from: exceptUid,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user