feat: add action:post.updatePostVoteCount

This commit is contained in:
Barış Soner Uşaklı
2020-05-05 13:09:17 -04:00
parent 5e1404542c
commit b25b51bd97

View File

@@ -225,6 +225,7 @@ module.exports = function (Posts) {
downvotes: postData.downvotes,
}),
]);
plugins.fireHook('action:post.updatePostVoteCount', { post: postData });
};
async function updateTopicVoteCount(postData) {