@akylas/kiss-orm
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -114,5 +114,4 @@ import NotFoundError from '../Errors/NotFoundError'; | ||
} | ||
const newModel = await this.createModelFromAttributes(model); | ||
Object.assign(newModel, results[0]); | ||
return newModel; | ||
Object.assign(model, results[0]); | ||
return model; | ||
}); | ||
@@ -119,0 +118,0 @@ } |
@@ -8,3 +8,3 @@ { | ||
"author": "Sébastien Caparros", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"engines": { | ||
@@ -11,0 +11,0 @@ "node": ">= 12.0.0" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40754
689