breaking: removal of filter:router.page

This commit is contained in:
Julian Lam
2023-12-04 14:00:48 -05:00
parent b73a8d3e1d
commit 9d8061eab9

View File

@@ -91,11 +91,6 @@ middleware.pageView = helpers.try(async (req, res, next) => {
});
middleware.pluginHooks = helpers.try(async (req, res, next) => {
// TODO: Deprecate in v2.0
await async.each(plugins.loadedHooks['filter:router.page'] || [], (hookObj, next) => {
hookObj.method(req, res, next);
});
await plugins.hooks.fire('response:router.page', {
req: req,
res: res,