Skip to content

Commit

Permalink
app.setting should be app.set (#1361)
Browse files Browse the repository at this point in the history
  • Loading branch information
lancatlin authored Mar 4, 2024
1 parent f1f986b commit 8fa86d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/api/en/4x/req-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The value of this property can be configured with the [query parser application

```js
var qs = require('qs')
app.setting('query parser', function (str) {
app.set('query parser', function (str) {
return qs.parse(str, { /* custom options */ })
})
```
Expand Down

0 comments on commit 8fa86d4

Please sign in to comment.