Skip to content

Commit

Permalink
Changelog 1.2.1 :
Browse files Browse the repository at this point in the history
- Fixed object reference modified when nested
  • Loading branch information
aalfiann committed Nov 29, 2019
1 parent 763a0e7 commit 38da0d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "jsonql-totaljs",
"version": "1.2.0",
"version": "1.2.1",
"description": "JsonQL Query NoSQL Embedded for Total.js Framework.",
"main": "src/jsonql-total.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/jsonql-total.js
@@ -1,5 +1,5 @@
/*!
* JsonQL ES6 v1.2.0 [NodeJS]
* JsonQL ES6 v1.2.1 [NodeJS]
* https://github.com/aalfiann/jsonql-totaljs
*
* Copyright 2019 M ABD AZIZ ALFIAN
Expand Down Expand Up @@ -524,7 +524,7 @@ class JsonQL {
if(err) return reject(err);
// join nested manual
if(obj.join && obj.nested) {
response = this._builderNested(response,obj.nested);
response = this._odm.deepClone(this._builderNested(response,obj.nested));
}
resolve({
data:response,
Expand Down

0 comments on commit 38da0d3

Please sign in to comment.