feat: add uid to post.parent

This commit is contained in:
Barış Soner Uşaklı
2025-01-29 18:01:52 -05:00
parent 0b92d52593
commit 4d7335903a

View File

@@ -196,6 +196,7 @@ module.exports = function (Topics) {
parentPosts.forEach((post, i) => {
if (usersMap[post.uid]) {
parents[parentPids[i]] = {
uid: post.uid,
username: usersMap[post.uid].username,
displayname: usersMap[post.uid].displayname,
};