@digione/node-custom-api 0.1.3 → 0.1.4-alpha
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 +1 -1
- package/utils/stream.js +4 -1
- package/utils/user.js +1 -1
package/package.json
CHANGED
package/utils/stream.js
CHANGED
|
@@ -1711,8 +1711,11 @@ class StreamUtil {
|
|
|
1711
1711
|
case "multiple":
|
|
1712
1712
|
field_data = _.pick(field_data, ['choose_stream', 'skip_data', 'self_table', 'regex']);
|
|
1713
1713
|
break;
|
|
1714
|
+
case "map":
|
|
1715
|
+
field_data = _.pick(field_data, ['range']);
|
|
1716
|
+
break;
|
|
1714
1717
|
default:
|
|
1715
|
-
field_data =
|
|
1718
|
+
field_data = {};
|
|
1716
1719
|
break;
|
|
1717
1720
|
}
|
|
1718
1721
|
return field_data;
|
package/utils/user.js
CHANGED
|
@@ -231,7 +231,7 @@ const getAddressIndex = (data, { condition = {}, lang_code = "en" } = {}) => tsl
|
|
|
231
231
|
});
|
|
232
232
|
if (state) {
|
|
233
233
|
result['state_id'] = state['id'];
|
|
234
|
-
condition['
|
|
234
|
+
condition['state_id'] = result['state_id'];
|
|
235
235
|
}
|
|
236
236
|
bol = (typeof result['state_id'] == "undefined");
|
|
237
237
|
}
|