zet-lib 1.0.81 → 1.0.82

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.
Files changed (2) hide show
  1. package/lib/zRoute.js +3 -1
  2. package/package.json +1 -1
package/lib/zRoute.js CHANGED
@@ -184,7 +184,9 @@ zRoute.post = (req, res, MYMODEL, routeName, body) => {
184
184
  break
185
185
 
186
186
  case 'dropdown_multi':
187
- post[routeName][key] = JSON.stringify(post[routeName][key])
187
+ let cleaning = post[routeName][key] ? post[routeName][key].filter((item) => item) : null
188
+ //post[routeName][key] = JSON.stringify(post[routeName][key]);
189
+ post[routeName][key] = cleaning ? JSON.stringify(cleaning) : null
188
190
  break
189
191
 
190
192
  case 'lexical':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zet-lib",
3
- "version": "1.0.81",
3
+ "version": "1.0.82",
4
4
  "description": "zet is a library that part of zet generator.",
5
5
  "engines": {
6
6
  "node": ">=18"