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.
Files changed (2) hide show
  1. package/appit.js +1 -1
  2. 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.destination[destinations[i].object_id] = model.data.id;
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vtb-appit",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {