Add cid for filter:category.update hook (#6319)

v1.18.x
Davis 7 years ago committed by Barış Soner Uşaklı
parent 2983fc3e5e
commit 9d171ca1e2

@ -41,7 +41,7 @@ module.exports = function (Categories) {
} }
}, },
function (next) { function (next) {
plugins.fireHook('filter:category.update', { category: modifiedFields }, next); plugins.fireHook('filter:category.update', { cid: cid, category: modifiedFields }, next);
}, },
function (categoryData, next) { function (categoryData, next) {
category = categoryData.category; category = categoryData.category;

Loading…
Cancel
Save