feat: add action:post.updatePostVoteCount

v1.18.x
Barış Soner Uşaklı 5 years ago
parent 5e1404542c
commit b25b51bd97

@ -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) {

Loading…
Cancel
Save