mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
feat: add action:post.updatePostVoteCount
This commit is contained in:
@@ -225,6 +225,7 @@ module.exports = function (Posts) {
|
|||||||
downvotes: postData.downvotes,
|
downvotes: postData.downvotes,
|
||||||
}),
|
}),
|
||||||
]);
|
]);
|
||||||
|
plugins.fireHook('action:post.updatePostVoteCount', { post: postData });
|
||||||
};
|
};
|
||||||
|
|
||||||
async function updateTopicVoteCount(postData) {
|
async function updateTopicVoteCount(postData) {
|
||||||
|
|||||||
Reference in New Issue
Block a user