From 3b2844f80324bc5281f3c0269dc2dad019dd96f1 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/doc/plugins/guide.md') 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