vtb-appit 0.0.20 → 0.0.21
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
|
@@ -201,7 +201,7 @@ class Appit {
|
|
|
201
201
|
let id = this.findId('destinations', destinations[i].object_id);
|
|
202
202
|
if(!id) {
|
|
203
203
|
let model = await this.createDestination({...destination, labels: labels, excursion_id: this.history.excursionId});
|
|
204
|
-
this.history.
|
|
204
|
+
this.history.destinations[destinations[i].object_id] = model.data.id;
|
|
205
205
|
} else {
|
|
206
206
|
await this.updateDestination(id, {...destination, labels: labels, excursion_id: this.history.excursionId});
|
|
207
207
|
}
|