@pxp-nd/flow 1.0.99 → 1.1.1

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.
@@ -326,29 +326,25 @@ let Flow = class Flow extends core_1.Controller {
326
326
  }
327
327
  }
328
328
  if (flowIdDel.action.actionType.name === 'CHAINED FLOW') {
329
- console.log('CHAINED');
330
329
  if (((_a = flowIdDel.action) === null || _a === void 0 ? void 0 : _a.configJsonTemplate) && flowIdDel.actionConfigJson) {
331
330
  try {
332
331
  const parsedConfig = JSON.parse(flowIdDel.action.configJsonTemplate);
333
332
  const parsedValues = JSON.parse(flowIdDel.actionConfigJson);
334
- console.log('parsedConfig', parsedConfig);
335
- console.log('parsedValues', parsedValues);
336
333
  if (parsedConfig.deleteController && parsedValues.flowId) {
337
334
  const params = {
338
335
  flowId: parsedValues.flowId,
339
336
  };
340
- console.log('params', params);
341
337
  const config = {
342
338
  method: "post",
343
- url: `http://localhost:${process.env.PORT}/api/${parsedConfig.addController}`,
339
+ url: `http://localhost:${process.env.PORT}/api/${parsedConfig.deleteController}`,
344
340
  headers: {
345
341
  Authorization: "" + process.env.TOKEN_PXP_ND + "",
346
342
  "Content-Type": "application/json",
347
343
  },
348
344
  data: params,
349
345
  };
350
- console.log('config', config);
351
346
  const resControllerAxios = await (0, axios_1.default)(config);
347
+ console.log('resControllerAxios.data', resControllerAxios.data);
352
348
  }
353
349
  }
354
350
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pxp-nd/flow",
3
- "version": "1.0.99",
3
+ "version": "1.1.01",
4
4
  "description": "Workflow module for pxp-nd framework",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",