feat: add data param to filter:categories.search

so plugins can do custom search for categories
isekai-main
Barış Soner Uşaklı 3 years ago
parent 2170c8a8f5
commit c4156bdd7b

@ -18,6 +18,7 @@ module.exports = function (Categories) {
let cids = await findCids(query, data.hardCap);
const result = await plugins.hooks.fire('filter:categories.search', {
data: data,
cids: cids,
uid: uid,
});

Loading…
Cancel
Save