Skip to content

Commit

Permalink
fix setting query
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed Nov 24, 2024
1 parent 0ed184c commit d3148db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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.12",
"version": "1.3.13",
"description": "The Ultimate Express. Fastest http server with full Express compatibility, based on uWebSockets.",
"main": "src/index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ module.exports = class Request extends Readable {
if(qp) {
this.#cachedQuery = qp(this.urlQuery.slice(1));
} else {
this.#cachedQuery = new NullObject();
this.#cachedQuery = {...new NullObject()};
}
return {...this.#cachedQuery};
return this.#cachedQuery;
}

get secure() {
Expand Down

0 comments on commit d3148db

Please sign in to comment.