From 98a05e4dde939bd96accf62ea6ac7c3b6b1ba39e Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 20 Nov 2020 15:22:49 -0500 Subject: [PATCH] chore: add missing plugin hook deprecation warning --- src/plugins/hooks.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/hooks.js b/src/plugins/hooks.js index 6ce56fd988..3990468443 100644 --- a/src/plugins/hooks.js +++ b/src/plugins/hooks.js @@ -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 = {