@contrail/flexplm 1.1.28 → 1.1.29
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.
|
@@ -153,7 +153,7 @@ class BaseEntityProcessor {
|
|
|
153
153
|
}
|
|
154
154
|
const payload = await this.getOutgoingUpsertPayload(entityType, event);
|
|
155
155
|
const flexResponse = await new flexplm_connect_1.FlexPLMConnect(this.config).sendToFlexPLM(payload);
|
|
156
|
-
const flexPayload = flexResponse?.
|
|
156
|
+
const flexPayload = flexResponse?.data?.payload[0];
|
|
157
157
|
if (flexPayload) {
|
|
158
158
|
const inboundData = await this.getTransformedData(flexPayload);
|
|
159
159
|
const outboundEntityUpdates = await this.getUpdatesForEntity(event.newData, inboundData);
|
package/package.json
CHANGED
|
@@ -199,7 +199,7 @@ export abstract class BaseEntityProcessor {
|
|
|
199
199
|
const payload = await this.getOutgoingUpsertPayload(entityType, event);
|
|
200
200
|
const flexResponse: any = await new FlexPLMConnect(this.config).sendToFlexPLM(payload);
|
|
201
201
|
|
|
202
|
-
const flexPayload = flexResponse?.
|
|
202
|
+
const flexPayload = flexResponse?.data?.payload[0];
|
|
203
203
|
if(flexPayload) {
|
|
204
204
|
const inboundData = await this.getTransformedData(flexPayload);
|
|
205
205
|
const outboundEntityUpdates = await this.getUpdatesForEntity(event.newData, inboundData)
|