vtb-appit 0.1.24 → 0.1.26

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.
@@ -316,7 +316,7 @@ class AppitBaseTransformer {
316
316
  });
317
317
 
318
318
  const options = {
319
- hostname: 'vtb-global-vtb-gateway-z7stqwbrxa-ew.a.run.app',
319
+ hostname: 'vtb-gateway-legacy.visualtourbuilder.com',
320
320
  path: '/graphql',
321
321
  port: 443,
322
322
  method: 'POST',
package/appit-notify.js CHANGED
@@ -55,7 +55,7 @@ class AppitNotify {
55
55
  try {
56
56
  const response = await axios({
57
57
  method: 'post',
58
- url: `https://vtb-global-vtb-gateway-z7stqwbrxa-ew.a.run.app/graphql`,
58
+ url: `https://vtb-gateway-legacy.visualtourbuilder.com/graphql`,
59
59
  data: JSON.stringify({ query }),
60
60
  headers: {
61
61
  Authorization: `Bearer ${token}`,
package/appit.js CHANGED
@@ -990,7 +990,7 @@ class Appit {
990
990
  let accommodation = this.clean(JSON.parse(JSON.stringify(accommodations[i])));
991
991
  let labels = this.getLabels(accommodations[i]);
992
992
 
993
- const images = (accommodation.images && accommodation.images.length) ? await this.getImages(accommodation.images, 'original/lg') : {};
993
+ const images = (accommodation.images && accommodation.images.length) ? await this.getImages(accommodation.images, 'original/original') : {};
994
994
  delete accommodation.images;
995
995
 
996
996
  const accommodationData = {...accommodation, ...images, labels: labels, excursion_id: this.history.excursionId};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vtb-appit",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {},