alchemy-chimera 1.2.6 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -87,7 +87,7 @@ Editor.setAction(function index(conduit, model_name) {
|
|
|
87
87
|
*
|
|
88
88
|
* @author Jelle De Loecker <jelle@elevenways.be>
|
|
89
89
|
* @since 0.1.0
|
|
90
|
-
* @version 1.
|
|
90
|
+
* @version 1.2.7
|
|
91
91
|
*
|
|
92
92
|
* @param {Conduit} conduit
|
|
93
93
|
* @param {String} model_name
|
|
@@ -102,7 +102,7 @@ Editor.setAction(async function add(conduit, model_name) {
|
|
|
102
102
|
|
|
103
103
|
let record = model.createDocument();
|
|
104
104
|
|
|
105
|
-
record.setDataRecord(conduit.body
|
|
105
|
+
record.setDataRecord(conduit.body);
|
|
106
106
|
|
|
107
107
|
try {
|
|
108
108
|
await record.save();
|
|
@@ -141,7 +141,7 @@ Editor.setAction(async function add(conduit, model_name) {
|
|
|
141
141
|
*
|
|
142
142
|
* @author Jelle De Loecker <jelle@elevenways.be>
|
|
143
143
|
* @since 0.1.0
|
|
144
|
-
* @version 1.2.
|
|
144
|
+
* @version 1.2.7
|
|
145
145
|
*
|
|
146
146
|
* @param {Conduit} conduit
|
|
147
147
|
* @param {String} model_name
|
|
@@ -169,7 +169,7 @@ Editor.setAction(async function edit(conduit, model_name, pk_val) {
|
|
|
169
169
|
|
|
170
170
|
if (conduit.method == 'post') {
|
|
171
171
|
|
|
172
|
-
Object.assign(record, conduit.body
|
|
172
|
+
Object.assign(record, conduit.body);
|
|
173
173
|
|
|
174
174
|
try {
|
|
175
175
|
await record.save();
|