@defra-fish/sales-api-service 1.44.0-rc.1 → 1.44.0-rc.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defra-fish/sales-api-service",
3
- "version": "1.44.0-rc.1",
3
+ "version": "1.44.0-rc.3",
4
4
  "description": "Rod Licensing Sales API",
5
5
  "type": "module",
6
6
  "engines": {
@@ -35,9 +35,9 @@
35
35
  "test": "echo \"Error: run tests from root\" && exit 1"
36
36
  },
37
37
  "dependencies": {
38
- "@defra-fish/business-rules-lib": "1.44.0-rc.1",
39
- "@defra-fish/connectors-lib": "1.44.0-rc.1",
40
- "@defra-fish/dynamics-lib": "1.44.0-rc.1",
38
+ "@defra-fish/business-rules-lib": "1.44.0-rc.3",
39
+ "@defra-fish/connectors-lib": "1.44.0-rc.3",
40
+ "@defra-fish/dynamics-lib": "1.44.0-rc.3",
41
41
  "@hapi/boom": "^9.1.2",
42
42
  "@hapi/hapi": "^20.1.3",
43
43
  "@hapi/inert": "^6.0.3",
@@ -52,5 +52,5 @@
52
52
  "moment-timezone": "^0.5.34",
53
53
  "uuid": "^8.3.2"
54
54
  },
55
- "gitHead": "4d3a16e5eac763b13e68f0af2c295a1f0ad12e78"
55
+ "gitHead": "4a8c0f801a97958a7b6e92cc0d9f0f87b5d05c8a"
56
56
  }
@@ -158,7 +158,7 @@ const processRecurringPayment = async transactionRecord => {
158
158
  recurringPayment.inceptionDay = inceptionMoment.date()
159
159
  recurringPayment.inceptionMonth = inceptionMoment.month()
160
160
  payer = await resolveContactPayload(transactionRecord.payment.recurring.payer)
161
- recurringPayment.bindToEntity(RecurringPayment.definition.relationships.payer, payer)
161
+ recurringPayment.bindToEntity(RecurringPayment.definition.relationships.contact, payer)
162
162
  }
163
163
  return { recurringPayment, payer }
164
164
  }