diff --git a/package.json b/package.json index f7afcac..0985749 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/request.js b/src/request.js index de05581..4260149 100644 --- a/src/request.js +++ b/src/request.js @@ -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() {