mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 18:56:15 +01:00
Add cid for filter:category.update hook (#6319)
This commit is contained in:
committed by
Barış Soner Uşaklı
parent
2983fc3e5e
commit
9d171ca1e2
@@ -41,7 +41,7 @@ module.exports = function (Categories) {
|
||||
}
|
||||
},
|
||||
function (next) {
|
||||
plugins.fireHook('filter:category.update', { category: modifiedFields }, next);
|
||||
plugins.fireHook('filter:category.update', { cid: cid, category: modifiedFields }, next);
|
||||
},
|
||||
function (categoryData, next) {
|
||||
category = categoryData.category;
|
||||
|
||||
Reference in New Issue
Block a user