From 4857f887f73328f2d4492eb04a8126cb7e446668 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 10 Mar 2023 10:06:29 +0100 Subject: Fix plugin guide --- support/doc/plugins/guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support') diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md index 2cc544f1c..337f3d97f 100644 --- a/support/doc/plugins/guide.md +++ b/support/doc/plugins/guide.md @@ -290,7 +290,7 @@ You can create custom routes using an [express Router](https://expressjs.com/en/ ```js function register ({ - router + getRouter }) { const router = getRouter() router.get('/ping', (req, res) => res.json({ message: 'pong' })) -- cgit v1.2.3