account-lookup-service 17.13.0-snapshot.7 → 17.13.0-snapshot.8

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,7 +1,7 @@
1
1
  {
2
2
  "name": "account-lookup-service",
3
3
  "description": "Account Lookup Service is used to validate Party and Participant lookups.",
4
- "version": "17.13.0-snapshot.7",
4
+ "version": "17.13.0-snapshot.8",
5
5
  "license": "Apache-2.0",
6
6
  "author": "ModusBox",
7
7
  "contributors": [
@@ -205,9 +205,11 @@ class BasePartiesService {
205
205
  async sendPartyResolutionErrorCallback () {
206
206
  this.stepInProgress('sendPartyResolutionErrorCallback')
207
207
  const { headers, params } = this.inputs
208
+
208
209
  const error = this.createFspiopPartyResolutionError(ERROR_MESSAGES.externalPartyError)
209
210
  const callbackHeaders = BasePartiesService.createErrorCallbackHeaders(headers, params)
210
211
  const errorInfo = await this.deps.partiesUtils.makePutPartiesErrorPayload(this.deps.config, error, callbackHeaders, params)
212
+ this.state.destination = callbackHeaders[Headers.FSPIOP.DESTINATION]
211
213
 
212
214
  await this.identifyDestinationForCallback()
213
215
  await this.sendErrorCallback({
@@ -104,7 +104,7 @@ class PutPartiesService extends BasePartiesService {
104
104
  fspId: source
105
105
  }
106
106
  await this.deps.oracle.oracleRequest(headers, RestMethods.POST, params, null, mappingPayload, this.deps.cache)
107
- this.log.info('oracle was updated with mappingPayload', { mappingPayload })
107
+ this.log.info('oracle was updated with mappingPayload: ', mappingPayload)
108
108
  }
109
109
  }
110
110