chore: add missing plugin hook deprecation warning

v1.18.x
Julian Lam 4 years ago
parent ef3df47a6d
commit 98a05e4dde

@ -6,7 +6,8 @@ const utils = require('../utils');
module.exports = function (Plugins) {
Plugins.deprecatedHooks = {
'filter:privileges:isUserAllowedTo': 'filter:privileges:isAllowedTo',
'filter:privileges:isUserAllowedTo': 'filter:privileges:isAllowedTo', // 👋 @ 1.16.0
'filter:router.page': 'response:router.page', // 👋 @ 2.0.0
};
Plugins.internals = {

Loading…
Cancel
Save