refactor: change to action:categories.updateRecentTid

This commit is contained in:
Barış Soner Uşaklı
2020-05-04 21:17:05 -04:00
parent ecd622fdf5
commit 6c59683b16

View File

@@ -35,7 +35,7 @@ module.exports = function (Categories) {
}
await db.sortedSetAdd('cid:' + cid + ':recent_tids', Date.now(), tid);
await plugins.fireHook('filter:categories.updateRecentTid', { cid: cid, tid: tid });
await plugins.fireHook('action:categories.updateRecentTid', { cid: cid, tid: tid });
};
Categories.updateRecentTidForCid = async function (cid) {