vtb-appit 0.0.48 → 0.0.50

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 +4 -3
  2. package/package.json +1 -1
package/appit.js CHANGED
@@ -414,7 +414,8 @@ class Appit {
414
414
 
415
415
  if(payload) {
416
416
  options.headers = {
417
- 'Content-Type': 'application/json'
417
+ 'Content-Type': 'application/json',
418
+ 'Content-Language': 'nl'
418
419
  };
419
420
  }
420
421
 
@@ -625,9 +626,9 @@ class Appit {
625
626
  }
626
627
  }
627
628
 
628
- async saveHomescreen(id, data)
629
+ async saveHomescreen(data)
629
630
  {
630
- return await this.request('PUT', `excursions/${id}/homescreen/save_setting`, data);
631
+ return await this.request('PUT', `excursions/${this.history.excursionId}/homescreen/save_setting`, data);
631
632
  }
632
633
  }
633
634
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vtb-appit",
3
- "version": "0.0.48",
3
+ "version": "0.0.50",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {