From b00a9a87febca5ecc58e4cdbc4f4d6276cce05c5 Mon Sep 17 00:00:00 2001 From: Hardus van der Berg Date: Wed, 31 May 2023 14:01:52 +0200 Subject: [PATCH] docs: fixed code in create endpoints documentation (#4219) sample Co-authored-by: Shahed Nasser --- docs/content/development/endpoints/create.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/development/endpoints/create.md b/docs/content/development/endpoints/create.md index 91ee74d13c..7fb539624d 100644 --- a/docs/content/development/endpoints/create.md +++ b/docs/content/development/endpoints/create.md @@ -67,7 +67,7 @@ export default (rootDirectory, pluginOptions) => { } const anotherRouter = Router() - router.get("/store/*", (req, res, next) => { + anotherRouter.get("/store/*", (req, res, next) => { // TODO perform an actions for all store endpoints next() })