zet-lib 1.2.111 → 1.2.112

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.
@@ -1155,6 +1155,7 @@ router.post('/import', async (req, res) => {
1155
1155
  data.updated_by = res.locals.userId || 1
1156
1156
  data.created_at = Util.now()
1157
1157
  data.updated_at = Util.now()
1158
+ data.is_approval = data.is_approval == 'null' ? 0 : data.is_approval
1158
1159
  delete data.approval_history
1159
1160
  const results = await connection.results({
1160
1161
  table: 'zfields',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zet-lib",
3
- "version": "1.2.111",
3
+ "version": "1.2.112",
4
4
  "description": "zet is a library that part of zet generator.",
5
5
  "engines": {
6
6
  "node": ">=18"