Skip to content

Commit

Permalink
fix query
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed Nov 24, 2024
1 parent d3148db commit 4157079
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ultimate-express",
"version": "1.3.13",
"version": "1.3.14",
"description": "The Ultimate Express. Fastest http server with full Express compatibility, based on uWebSockets.",
"main": "src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ module.exports = class Request extends Readable {
}
const qp = this.app.get('query parser fn');
if(qp) {
this.#cachedQuery = qp(this.urlQuery.slice(1));
this.#cachedQuery = {...qp(this.urlQuery.slice(1))};
} else {
this.#cachedQuery = {...new NullObject()};
}
Expand Down

0 comments on commit 4157079

Please sign in to comment.