From 1a3b3e9ffa8d19bb8451c815eba46f0a22ef719d Mon Sep 17 00:00:00 2001 From: fetsorn Date: Mon, 4 Mar 2024 05:50:27 +0400 Subject: [PATCH] Fix code example ion req.query (#1366) closes #1361 closes #1366 --- _includes/api/en/5x/req-query.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/api/en/5x/req-query.md b/_includes/api/en/5x/req-query.md index 46f4df416c..ca114cf2ca 100644 --- a/_includes/api/en/5x/req-query.md +++ b/_includes/api/en/5x/req-query.md @@ -11,7 +11,7 @@ The value of this property can be configured with the [query parser application ```js const qs = require('qs') -app.setting('query parser', +app.set('query parser', (str) => qs.parse(str, { /* custom options */ })) ```