zet-lib 1.2.47 → 1.2.48

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 +1 -0
  2. package/package.json +1 -1
package/lib/zRoute.js CHANGED
@@ -3564,6 +3564,7 @@ zRoute.import = async (req, res, MYMODEL) => {
3564
3564
  if (Util.in_array('updated_by', fields)) data.updated_by = res.locals.userId
3565
3565
  delete data.lock
3566
3566
  await connection.insert({ table: MYMODEL.table, data: data })
3567
+ hd += `<td class='text text-success'>${LANGUAGE['success']}</td>`
3567
3568
  } else {
3568
3569
  if (Util.in_array('updated_at', fields)) data.updated_at = Util.now()
3569
3570
  if (Util.in_array('updated_by', fields)) data.updated_by = res.locals.userId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zet-lib",
3
- "version": "1.2.47",
3
+ "version": "1.2.48",
4
4
  "description": "zet is a library that part of zet generator.",
5
5
  "engines": {
6
6
  "node": ">=18"