ti2-tourplan 1.0.25 → 1.0.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.
Files changed (2) hide show
  1. package/index.js +1 -8
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -364,14 +364,7 @@ class Plugin {
364
364
  xmlOptions: hostConnectXmlOptions,
365
365
  };
366
366
  // use cache if we are getting the full list
367
- const replyObj = optionId
368
- ? await this.callTourplan(payload)
369
- : await this.cache.getOrExec({
370
- fnParams: [model],
371
- fn: () => this.callTourplan(payload),
372
- ttl: 60 * 60 * 24, // 24 hours
373
- forceRefresh: Boolean(forceRefresh),
374
- });
367
+ const replyObj = await this.callTourplan(payload);
375
368
  let products = [];
376
369
  if (replyObj === 'useFixture') {
377
370
  products = require('./__fixtures__/fullacoptionlist.json');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ti2-tourplan",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "Tourplan's TI2 Plugin",
5
5
  "main": "index.js",
6
6
  "scripts": {