vtb-appit 0.0.63 → 0.0.64
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/appit.js +1 -1
- package/package.json +1 -1
package/appit.js
CHANGED
|
@@ -346,7 +346,7 @@ class Appit {
|
|
|
346
346
|
let id = this.findId('documents', documents[i].object_id);
|
|
347
347
|
if(!id) {
|
|
348
348
|
let model = await this.createDocument(documents[i]);
|
|
349
|
-
this.history.documents[
|
|
349
|
+
this.history.documents[documents[i].object_id] = model.data.id;
|
|
350
350
|
} else {
|
|
351
351
|
await this.updateDocument(id, documents[i]);
|
|
352
352
|
}
|