@pxp-nd/flow 1.0.75 → 1.0.76

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.
@@ -163,14 +163,14 @@ let Node = class Node extends core_1.Controller {
163
163
  // this logic is for autocomplete for moment
164
164
  const findFieldInConfigForComponent = async (json, value) => {
165
165
  if (json.formComponent && json.formComponent.type === 'AutoComplete') {
166
- const url = json.formComponent.store.axios.url;
167
- const method = json.formComponent.store.axios.method;
168
- const data = json.formComponent.store.axios.data;
166
+ const url = json.formComponent.store.axios.config.url;
167
+ const method = json.formComponent.store.axios.config.method;
168
+ const data = json.formComponent.store.axios.config.data;
169
169
  const idDD = json.formComponent.store.idDD;
170
170
  const descDD = json.formComponent.store.descDD;
171
171
  const config = {
172
172
  method: method,
173
- url: url,
173
+ url: `http://localhost:${process.env.PORT}${url}`,
174
174
  headers: {
175
175
  'Authorization': '' + process.env.TOKEN_PXP_ND + '',
176
176
  'Content-Type': 'application/json'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pxp-nd/flow",
3
- "version": "1.0.75",
3
+ "version": "1.0.76",
4
4
  "description": "Workflow module for pxp-nd framework",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",