ti2-ventrata 1.0.30 → 1.0.31

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 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -362,7 +362,7 @@ class Plugin {
362
362
  method: rebookingId ? 'patch' : 'post',
363
363
  url: `${endpoint || this.endpoint}/bookings${rebookingId ? `/${rebookingId}` : ''}`,
364
364
  data: {
365
- settlementMethod: reference && octoEnv !== 'test' ? 'VOUCHER' : 'DEFERRED',
365
+ settlementMethod: 'DEFERRED',
366
366
  ...dataForCreateBooking,
367
367
  notes,
368
368
  ...(pickupPoint ? { pickupRequested: true, pickupPointId: pickupPoint } : {}),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ti2-ventrata",
3
- "version": "1.0.30",
3
+ "version": "1.0.31",
4
4
  "description": "Ventrata's TI2 Plugin",
5
5
  "main": "index.js",
6
6
  "scripts": {